package com.yanqu.road.server.logic.activity.condition;

import com.yanqu.road.entity.activity.ActivityConditionInfo;
import com.yanqu.road.entity.activity.ActivityInfo;
import com.yanqu.road.entity.activity.UserActivityConditionData;
import com.yanqu.road.entity.activity.civil.enums.ActivityCivilConditionTypeEnum;
import com.yanqu.road.entity.config.goods.MallInfo;
import com.yanqu.road.entity.enums.activity.eActivityChargeType;
import com.yanqu.road.entity.enums.eActivityType;
import com.yanqu.road.entity.enums.eGamePlayerEventType;
import com.yanqu.road.entity.enums.eLogMoneyType;
import com.yanqu.road.entity.enums.ePlayerAttrType;
import com.yanqu.road.entity.event.EventTriggerArgs;
import com.yanqu.road.entity.event.IEventListener;
import com.yanqu.road.entity.log.LogCommonActivityReach;
import com.yanqu.road.entity.log.LogTriggerRMBMallBuy;
import com.yanqu.road.entity.log.LogTriggerRMBMallTrigger;
import com.yanqu.road.logic.helper.UnionActivityTaskConditionHelper;
import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.gameplayer.module.activity.ActivityModule;
import com.yanqu.road.server.gameplayer.module.activity.oldplayerreturn.OldPlayerReturnModule;
import com.yanqu.road.server.gameplayer.module.banquet.BanquetModule;
import com.yanqu.road.server.gameplayer.module.player.AttributeModule;
import com.yanqu.road.server.gameplayer.module.player.CurrencyModule;
import com.yanqu.road.server.gameplayer.module.player.WealthScrollModule;
import com.yanqu.road.server.logic.activity.BaseActivityData;
import com.yanqu.road.server.logic.activity.commonwish.CommonWishPieceUnLockCondition;
import com.yanqu.road.server.logic.activity.commonwish.CommonWishScoreRankCondition;
import com.yanqu.road.server.logic.activity.commonwish.CommonWishTotalDrawCondition;
import com.yanqu.road.server.logic.activity.condition.Advertisement.DailyRefreshAdvertisementTimeCondition;
import com.yanqu.road.server.logic.activity.condition.Advertisement.LuckyShopWatchTimesCondition;
import com.yanqu.road.server.logic.activity.condition.Advertisement.TotalWatchAdvertisementTimeCondition;
import com.yanqu.road.server.logic.activity.condition.apprentice.ApprenticeTalentAmountCondition;
import com.yanqu.road.server.logic.activity.condition.apprentice.ApprenticeUserAchievementCondition;
import com.yanqu.road.server.logic.activity.condition.apprentice.ApprenticeUserRankCondition;
import com.yanqu.road.server.logic.activity.condition.beautylottery.PeerlessBeautyLotteryRankCondition;
import com.yanqu.road.server.logic.activity.condition.biaoju.BiaoJuExpCondition;
import com.yanqu.road.server.logic.activity.condition.biaoju.BiaoJuExpRankCondition;
import com.yanqu.road.server.logic.activity.condition.biaoju.BiaoJuUnionExpAddCondition;
import com.yanqu.road.server.logic.activity.condition.biaoju.BiaoJuUnionExpRankCondition;
import com.yanqu.road.server.logic.activity.condition.businessdepart.BusinessDepartActiveCondition;
import com.yanqu.road.server.logic.activity.condition.businessdepart.BusinessDepartCostScoreCondition;
import com.yanqu.road.server.logic.activity.condition.carptrip.CarpTripBigDrawProcessCondition;
import com.yanqu.road.server.logic.activity.condition.carptrip.CarpTripCellNumCondition;
import com.yanqu.road.server.logic.activity.condition.carptrip.CarpTripNormalCellPassCondition;
import com.yanqu.road.server.logic.activity.condition.cat.CatActivityDamageRankCondition;
import com.yanqu.road.server.logic.activity.condition.cat.CatActivitySwordLevelCondition;
import com.yanqu.road.server.logic.activity.condition.cat.CatPassProgressCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.celebration.CelebrationActivityFestiveValueCondition;
import com.yanqu.road.server.logic.activity.condition.celebration.CelebrationActivityScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.celebration.CelebrationActivityScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.chatactivity.ChatActivityCondition;
import com.yanqu.road.server.logic.activity.condition.chefduel.ChefDuel1ScoreCondition;
import com.yanqu.road.server.logic.activity.condition.chefduel.ChefDuel1UnlimitedRankCondition;
import com.yanqu.road.server.logic.activity.condition.chinesechess.ChineseChessBronzeTokenCondition;
import com.yanqu.road.server.logic.activity.condition.chinesechess.ChineseChessCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.chinesechess.ChineseChessGoldTokenCondition;
import com.yanqu.road.server.logic.activity.condition.chinesechess.ChineseChessSilverTokenCondition;
import com.yanqu.road.server.logic.activity.condition.chuhan.*;
import com.yanqu.road.server.logic.activity.condition.climbtower.*;
import com.yanqu.road.server.logic.activity.condition.coupon.CouponTriggerActivityCondition;
import com.yanqu.road.server.logic.activity.condition.cricket.CricketCourtBronzeTokenCondition;
import com.yanqu.road.server.logic.activity.condition.cricket.CricketCourtGoldTokenCondition;
import com.yanqu.road.server.logic.activity.condition.cricket.CricketCourtSliverTokenCondition;
import com.yanqu.road.server.logic.activity.condition.dafuweng.*;
import com.yanqu.road.server.logic.activity.condition.daomu.*;
import com.yanqu.road.server.logic.activity.condition.deepfishing.DeepFishingRankCondition;
import com.yanqu.road.server.logic.activity.condition.deepfishing.DeepFishingTotalCoinProcessCondition;
import com.yanqu.road.server.logic.activity.condition.deepfishing.DeepFishingUnlockFishCondition;
import com.yanqu.road.server.logic.activity.condition.deepfishing.DeepFishingUnlockItemCondition;
import com.yanqu.road.server.logic.activity.condition.diggold.DigGoldAntiqueCondition;
import com.yanqu.road.server.logic.activity.condition.diggold.DigGoldAntiqueScoreCondition;
import com.yanqu.road.server.logic.activity.condition.diggold.DigGoldAntiqueScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.doublespring.DoubleSpringScoreCondition;
import com.yanqu.road.server.logic.activity.condition.doublespring.DoubleSpringZlCondition;
import com.yanqu.road.server.logic.activity.condition.douluodalu.DouLuoDaLuPhaseOneUserScoreCondition;
import com.yanqu.road.server.logic.activity.condition.douluodalu.DouLuoDaLuPhaseTwoTeamScoreCondition;
import com.yanqu.road.server.logic.activity.condition.douluodalu.DouLuoDaLuPhaseTwoUserScoreCondition;
import com.yanqu.road.server.logic.activity.condition.dragonboatrace.DragonBoatRaceActivityScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.dragonboatrace.DragonBoatRaceActivityScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.dragonboatrace.DragonBoatRaceActivityUnionScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.dragonboatrace.DragonBoatRaceActivityUnionScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.drawPictures.DrawPicturesCombPrayTimesCondition;
import com.yanqu.road.server.logic.activity.condition.drawPictures.DrawPicturesIntegralCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.drawPictures.DrawPicturesIntegralRankCondition;
import com.yanqu.road.server.logic.activity.condition.drink.DrinkCrossScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.drink.DrinkScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.evefeast.*;
import com.yanqu.road.server.logic.activity.condition.fb.FaceBookFollowNumCondition;
import com.yanqu.road.server.logic.activity.condition.feast.*;
import com.yanqu.road.server.logic.activity.condition.fellingtrees.FellingTreesAttackCondition;
import com.yanqu.road.server.logic.activity.condition.fellingtrees.FellingTreesLevelCondition;
import com.yanqu.road.server.logic.activity.condition.fellingtrees.FellingTreesLevelRankCondition;
import com.yanqu.road.server.logic.activity.condition.fivehero.FiveHeroCampScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.fivehero.FiveHeroCampUnionPopularityRankCondition;
import com.yanqu.road.server.logic.activity.condition.fivehero.FiveHeroPopularityCondition;
import com.yanqu.road.server.logic.activity.condition.fivehero.FiveHeroUserPopularityRankCondition;
import com.yanqu.road.server.logic.activity.condition.flowercard.*;
import com.yanqu.road.server.logic.activity.condition.flowerstudy.FlowerStudyLocalScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.flowerstudy.FlowerStudyQACondition;
import com.yanqu.road.server.logic.activity.condition.flowerstudy.FlowerStudyScorePalaceRankCondition;
import com.yanqu.road.server.logic.activity.condition.flowerstudy.FlowerStudyScoreProvinceRankCondition;
import com.yanqu.road.server.logic.activity.condition.foxcard.*;
import com.yanqu.road.server.logic.activity.condition.gashapon.GashaponIngotRebateCondition;
import com.yanqu.road.server.logic.activity.condition.gashapon.GashaponUserRankCondition;
import com.yanqu.road.server.logic.activity.condition.ghost.GhostScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.ghost.GhostTokenCountCondition;
import com.yanqu.road.server.logic.activity.condition.ghost.GhostUnionScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.goddess.GoddessMissionProgressCondition;
import com.yanqu.road.server.logic.activity.condition.goddess.GoddessMissionRankCondition;
import com.yanqu.road.server.logic.activity.condition.goddess.GoddessPeoCombProgressCondition;
import com.yanqu.road.server.logic.activity.condition.goddess.GoddessPeoUnlockCondition;
import com.yanqu.road.server.logic.activity.condition.goldautumn.GoldAutumnCrossScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.goldingotfund.GoldIngotFundCondition;
import com.yanqu.road.server.logic.activity.condition.gourdchild.*;
import com.yanqu.road.server.logic.activity.condition.gourdplant.GourdPlantKeepsakeNumCondition;
import com.yanqu.road.server.logic.activity.condition.gourdplant.GourdPlantScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.gourdplant.GourdPlantScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.greattrade.*;
import com.yanqu.road.server.logic.activity.condition.guagifts.GuaGiftsActivitySendNobleGiftCondition;
import com.yanqu.road.server.logic.activity.condition.guagifts.GuaGiftsGuaRankCondition;
import com.yanqu.road.server.logic.activity.condition.guagifts.GuaGiftsNobleRankCondition;
import com.yanqu.road.server.logic.activity.condition.hanghai.HangHaiMoneyRankCondition;
import com.yanqu.road.server.logic.activity.condition.hanghai.HangHaiMoneyTaskCondition;
import com.yanqu.road.server.logic.activity.condition.hanghai.HangHaiUnionMoneyRankCondition;
import com.yanqu.road.server.logic.activity.condition.harps.HarpsScoreRank;
import com.yanqu.road.server.logic.activity.condition.harps.HarpsUseSangCanSi;
import com.yanqu.road.server.logic.activity.condition.hell.HellScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.hell.HellScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.hell.HellScoreValueCondition;
import com.yanqu.road.server.logic.activity.condition.hongxian.HongXianGanWuAchieveCondition;
import com.yanqu.road.server.logic.activity.condition.hongxian.HongXianUserRankCondition;
import com.yanqu.road.server.logic.activity.condition.horserun.HorseRunPersonalGradeAchievement;
import com.yanqu.road.server.logic.activity.condition.horserun.HorseRunPersonalGradeRankCondition;
import com.yanqu.road.server.logic.activity.condition.horserun.HorseRunUnionScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.horserun.HorseRunUnionScoreAchievement;
import com.yanqu.road.server.logic.activity.condition.hotpotjump.HotpotJumpScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.hsisland.HsIslandUnionAchievementCondition;
import com.yanqu.road.server.logic.activity.condition.hsisland.HsIslandUnionRankCondition;
import com.yanqu.road.server.logic.activity.condition.hsisland.HsIslandUserAchievementCondition;
import com.yanqu.road.server.logic.activity.condition.hsisland.HsIslandUserRankCondition;
import com.yanqu.road.server.logic.activity.condition.jianchuanghua.JianChuangHuaCombTimesCondition;
import com.yanqu.road.server.logic.activity.condition.jianchuanghua.JianChuangHuaScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.jianchuanghua.JianChuangHuaScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.jieshi.JieShiActivityJiaoZiCondition;
import com.yanqu.road.server.logic.activity.condition.jieshi.JieShiJiaoZiRankCondition;
import com.yanqu.road.server.logic.activity.condition.jieshi.JieShiLevelCondition;
import com.yanqu.road.server.logic.activity.condition.jiuzhou.JiuZhouOutRoundRankCondition;
import com.yanqu.road.server.logic.activity.condition.jiuzhou.JiuZhouScoreRoundRankCondition;
import com.yanqu.road.server.logic.activity.condition.langyabang.*;
import com.yanqu.road.server.logic.activity.condition.lanruosi.*;
import com.yanqu.road.server.logic.activity.condition.liveshow.LiveShowDailyTimeCondition;
import com.yanqu.road.server.logic.activity.condition.liveshow.LiveShowDayCondition;
import com.yanqu.road.server.logic.activity.condition.liveshow.LiveShowTimeCondition;
import com.yanqu.road.server.logic.activity.condition.liveshow.LiveShowWasheWinTimesCondition;
import com.yanqu.road.server.logic.activity.condition.meituan.AddMeiTuanDesktopCondition;
import com.yanqu.road.server.logic.activity.condition.metaspace.DayFirstInnCondition;
import com.yanqu.road.server.logic.activity.condition.metaspace.DayFirstNpcTradeCondition;
import com.yanqu.road.server.logic.activity.condition.metaspace.DayFirstOpenBuildingCondition;
import com.yanqu.road.server.logic.activity.condition.musicroom.MusicRoomScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.newpatronsfund.NewPatronsFundBeautyChCondition;
import com.yanqu.road.server.logic.activity.condition.newpatronsfund.NewPatronsFundPatronsQuaCondition;
import com.yanqu.road.server.logic.activity.condition.newpatronsfund.NewPatronsFundPatronsSkillCondition;
import com.yanqu.road.server.logic.activity.condition.newservercondition.NewServerWelfareDrawCondition;
import com.yanqu.road.server.logic.activity.condition.newservercondition.NewServerWelfareMissionCondition;
import com.yanqu.road.server.logic.activity.condition.newservercondition.NewServerWelfareTimeCondition;
import com.yanqu.road.server.logic.activity.condition.newyear2023.FireWorkHappyValueCondition;
import com.yanqu.road.server.logic.activity.condition.newyear2023.FireWorkSpGetCountCondition;
import com.yanqu.road.server.logic.activity.condition.newyear2023.FireWorkSpUseCountCondition;
import com.yanqu.road.server.logic.activity.condition.newyear2023.FireWorkUserScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.normal.*;
import com.yanqu.road.server.logic.activity.condition.operamask.*;
import com.yanqu.road.server.logic.activity.condition.pageant.PageantSingleScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.pageant.PageantSingleScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.pageant.PageantTotalScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.pageant.PageantTotalScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.patronsfund.PatronsCombLeaderSkillCondition;
import com.yanqu.road.server.logic.activity.condition.patronsfund.PatronsFundBeautyGlamourCondition;
import com.yanqu.road.server.logic.activity.condition.patronsfund.PatronsFundIntelligenceCondition;
import com.yanqu.road.server.logic.activity.condition.pasture.*;
import com.yanqu.road.server.logic.activity.condition.pasture.channel.ChannelPastureMaxScoreAchieveCondition;
import com.yanqu.road.server.logic.activity.condition.pasture.channel.ChannelPastureMaxScoreAchieveForMedalCondition;
import com.yanqu.road.server.logic.activity.condition.pasture.channel.ChannelPastureMaxScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.pasture.channel.EnterNameAreaFightRankCondition;
import com.yanqu.road.server.logic.activity.condition.pawnshop.PawnshopOperateDaysCondition;
import com.yanqu.road.server.logic.activity.condition.pawnshop.PawnshopScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.pawnshop.PawnshopScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.peakseacraft.PeakSeaCraftAreaCondition;
import com.yanqu.road.server.logic.activity.condition.peakseacraft.PeakSeaCraftUnionRankCondition;
import com.yanqu.road.server.logic.activity.condition.peakseacraft.PeakSeaCraftUserScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.peakstronghold.PeakStrongHoldGuessChampionCondition;
import com.yanqu.road.server.logic.activity.condition.peakstronghold.PeakStrongHoldGuessWinCondition;
import com.yanqu.road.server.logic.activity.condition.peakstronghold.PeakStrongHoldUnionIntegralRankCondition;
import com.yanqu.road.server.logic.activity.condition.peakstronghold.PeakStrongHoldUserDamageRankCondition;
import com.yanqu.road.server.logic.activity.condition.pixiu.PiXiuHappyValueCondition;
import com.yanqu.road.server.logic.activity.condition.ppl.PplScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.ppl.PplScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.qixi.QixiActivitySendFlowerCondition;
import com.yanqu.road.server.logic.activity.condition.qixi.QixiActivityUserRankCondition;
import com.yanqu.road.server.logic.activity.condition.qqprivilege.QQPrivilegeCondition;
import com.yanqu.road.server.logic.activity.condition.quanzi.EnterQuanziActivityCondition;
import com.yanqu.road.server.logic.activity.condition.questionnaire.QuestionnaireRewardCondition;
import com.yanqu.road.server.logic.activity.condition.rank.*;
import com.yanqu.road.server.logic.activity.condition.rank.server.*;
import com.yanqu.road.server.logic.activity.condition.rank.union.*;
import com.yanqu.road.server.logic.activity.condition.rankunionwar.*;
import com.yanqu.road.server.logic.activity.condition.recallplayer.RecallPlayerTotolBindCondition;
import com.yanqu.road.server.logic.activity.condition.recharge.*;
import com.yanqu.road.server.logic.activity.condition.recharge.base.*;
import com.yanqu.road.server.logic.activity.condition.recharge.potential.RechargePotentialAndCondition;
import com.yanqu.road.server.logic.activity.condition.recharge.potential.RechargePotentialOrCondition;
import com.yanqu.road.server.logic.activity.condition.ruishou.RuiShouCostNumCondition;
import com.yanqu.road.server.logic.activity.condition.ruishou.RuiShouScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.recharge.systemopen.*;
import com.yanqu.road.server.logic.activity.condition.seacraft.SeacraftPirateRiotScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.seacraft.SeacraftPirateRiotUnionScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.seacraftsouthsea.SeaCraftSouthSeaGetMedalCondition;
import com.yanqu.road.server.logic.activity.condition.seacraftsouthsea.SeaCraftSouthSeaUnionRankCondition;
import com.yanqu.road.server.logic.activity.condition.seacraftsouthsea.SeaCraftSouthSeaUserScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.season.*;
import com.yanqu.road.server.logic.activity.condition.share.ShareEarnSpeedActivityCondition;
import com.yanqu.road.server.logic.activity.condition.share.ShareNumActivityCondition;
import com.yanqu.road.server.logic.activity.condition.share.ShareRechargeActivityCondition;
import com.yanqu.road.server.logic.activity.condition.shrek.DouluoShrekBuildingUpTimes2Condition;
import com.yanqu.road.server.logic.activity.condition.shrek.DouluoShrekBuildingUpTimesCondition;
import com.yanqu.road.server.logic.activity.condition.shrek.ShrekScoreCrossRank2Condition;
import com.yanqu.road.server.logic.activity.condition.shrek.ShrekScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.shuihu.ShuiHuAllCombTimesCondition;
import com.yanqu.road.server.logic.activity.condition.shuihu.ShuiHuScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.shuihuyezicard.*;
import com.yanqu.road.server.logic.activity.condition.shushan.ShuShanBuildTotalLevelCondition;
import com.yanqu.road.server.logic.activity.condition.shushan.ShuShanFinishEncounterCondition;
import com.yanqu.road.server.logic.activity.condition.shushan.ShuShanMaxMagicUserRankCondition;
import com.yanqu.road.server.logic.activity.condition.signindraw.SignInDrawSignInDaysCondition;
import com.yanqu.road.server.logic.activity.condition.silkroad.SilkRoadRelicAchieveCondition;
import com.yanqu.road.server.logic.activity.condition.silkroad.SilkRoadScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.snowgarden.*;
import com.yanqu.road.server.logic.activity.condition.sonhai.SonHaiAchievementCondition;
import com.yanqu.road.server.logic.activity.condition.sonhai.SonHaiTeamRankCondition;
import com.yanqu.road.server.logic.activity.condition.sonhai.SonHaiUserRankCondition;
import com.yanqu.road.server.logic.activity.condition.specialcookboy.SpecialCookBoySevenDaySignCondition;
import com.yanqu.road.server.logic.activity.condition.specialtombrob.SpecialTombRobSevenDaySignCondition;
import com.yanqu.road.server.logic.activity.condition.springbanquet.SpringBanquetVipExpCondition;
import com.yanqu.road.server.logic.activity.condition.springdinner.SpringDinnerGameCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.springdinner.SpringDinnerGameMaxScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.springdraw.SpringDrawScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.stelesoul.SteleSoulCostCondition;
import com.yanqu.road.server.logic.activity.condition.stelesoul.SteleSoulRankCondition;
import com.yanqu.road.server.logic.activity.condition.stelesoul.SteleSoulRoundCondition;
import com.yanqu.road.server.logic.activity.condition.suitang.*;
import com.yanqu.road.server.logic.activity.condition.suoyao.SuoYaoScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.suoyao.SuoYaoItemUsedCondition;
import com.yanqu.road.server.logic.activity.condition.tomb.TombScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.tomb.TombScoreUnionRankCondition;
import com.yanqu.road.server.logic.activity.condition.tomb.TombUnionNianTuCondition;
import com.yanqu.road.server.logic.activity.condition.tomb.TombUserRelicCondition;
import com.yanqu.road.server.logic.activity.condition.tonbing.*;
import com.yanqu.road.server.logic.activity.condition.tongbing.*;
import com.yanqu.road.server.logic.activity.condition.toyhouse.ToyHouseCandyCountCondition;
import com.yanqu.road.server.logic.activity.condition.toyhouse.ToyHouseCombTimesCondition;
import com.yanqu.road.server.logic.activity.condition.toyhouse.ToyHouseCrossScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.treadwar.UserTotalTreadWarkillCondition;
import com.yanqu.road.server.logic.activity.condition.treasure.TreasureActivityProgressCondition;
import com.yanqu.road.server.logic.activity.condition.treasure.TreasureActivityScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.treasure.TreasureActivityScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.turtle.TurtleUserAchievementCondition;
import com.yanqu.road.server.logic.activity.condition.turtle.TurtleUserRankCondition;
import com.yanqu.road.server.logic.activity.condition.twins.*;
import com.yanqu.road.server.logic.activity.condition.union.JoinUnionActivityCondition;
import com.yanqu.road.server.logic.activity.condition.union.UnionRechargeUserCondition;
import com.yanqu.road.server.logic.activity.condition.wanyao.WanYaoAddMosterCondition;
import com.yanqu.road.server.logic.activity.condition.wanyao.WanYaoLevelProgressCondition;
import com.yanqu.road.server.logic.activity.condition.wanyao.WanYaoMonsterPowerRankCondition;
import com.yanqu.road.server.logic.activity.condition.washepk.WaShePkGroupFightRankCondition;
import com.yanqu.road.server.logic.activity.condition.washepk.WaShePkUserFightRankCondition;
import com.yanqu.road.server.logic.activity.condition.washepk.WaShePkUserScoreArchiveCondition;
import com.yanqu.road.server.logic.activity.condition.wineshop.WineShopReceptionCondition;
import com.yanqu.road.server.logic.activity.condition.winterLove.WinterLoveBlessTaskCondition;
import com.yanqu.road.server.logic.activity.condition.winterLove.WinterLoveRankCondition;
import com.yanqu.road.server.logic.activity.condition.witchdraw.WitchDrawScoreCondition;
import com.yanqu.road.server.logic.activity.condition.witchdraw.WitchDrawScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.worldcup.WorldCupLevelCondition;
import com.yanqu.road.server.logic.activity.condition.worldcup.WorldCupScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.xiaowuRecall.XiaowuRecallScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.xiaowuRecall.XiaowuSoulTaskCondition;
import com.yanqu.road.server.logic.activity.condition.xiayue.XiaYueCombTimesCondition;
import com.yanqu.road.server.logic.activity.condition.xiayue.XiaYueCrossScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.xiayue.XiaYueScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.xingyou.XingYouShanShuiTeamSliverRankCondition;
import com.yanqu.road.server.logic.activity.condition.xingyou.XingYouShanShuiUserDiceCountCondition;
import com.yanqu.road.server.logic.activity.condition.xingyou.XingYouShanShuiUserRoundCountCondition;
import com.yanqu.road.server.logic.activity.condition.xingyou.XingYouShanShuiUserSliverRankCondition;
import com.yanqu.road.server.logic.activity.condition.xiuxian.*;
import com.yanqu.road.server.logic.activity.condition.yearMaster.YearMasterBossScoreCondition;
import com.yanqu.road.server.logic.activity.condition.yearMaster.YearMasterItemTimesCondition;
import com.yanqu.road.server.logic.activity.condition.yearMaster.YearMasterScoreCrossRankCondition;
import com.yanqu.road.server.logic.activity.condition.yearMaster.YearMasterScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.yingxin.YingXinCrossScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.yingxin.YingXinScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.yqhotel.YQHotelBuildingUpTimesCondition;
import com.yanqu.road.server.logic.activity.condition.yqhotel.YQHotelPersonalScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.zfb.ZfbFollowUpCondition;
import com.yanqu.road.server.logic.activity.condition.zfb.ZfbIndexSettingCondition;
import com.yanqu.road.server.logic.activity.condition.zhenhuan.*;
import com.yanqu.road.server.logic.activity.condition.zhounianturntable.ZhouNianTurntableScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.zhounianturntable.ZhouNianTurntableTimesCondition;
import com.yanqu.road.server.logic.activity.eggs.PaintedEggsEventCondition;
import com.yanqu.road.server.logic.activity.fanxiuspring.FanXiuSpringLoginDaysCondition;
import com.yanqu.road.server.logic.activity.fanxiuspring.FanXiuSpringPieceUnLockCondition;
import com.yanqu.road.server.logic.activity.fanxiuspring.FanXiuSpringScoreRankCondition;
import com.yanqu.road.server.logic.activity.langyamemorial.LangYaMemorialBuildAllValueCondition;
import com.yanqu.road.server.logic.activity.langyamemorial.LangYaMemorialBuildTimesCondition;
import com.yanqu.road.server.logic.activity.langyamemorial.LangYaMemorialCrossRankCondition;
import com.yanqu.road.server.logic.activity.langyamemorial.LangYaMemorialRepairProgressCondition;
import com.yanqu.road.server.logic.activity.liondance.LionDanceMakeLionProcessCondition;
import com.yanqu.road.server.logic.activity.liondance.LionDanceScoreRankCondition;
import com.yanqu.road.server.logic.activity.condition.chefduel.ChefDuel1StageScoreRankCondition;
import com.yanqu.road.server.logic.activity.summergames.SummerGamesScoreArchiveCondition;
import com.yanqu.road.server.logic.activity.summergames.SummerGamesScoreRankCondition;
import com.yanqu.road.server.logic.activity.union.condition.*;
import com.yanqu.road.server.manger.activity.ActivityMgr;
import com.yanqu.road.server.manger.activity.NormalActivityMgr;
import com.yanqu.road.server.manger.activity.auto.reward.ActivityAutoRewardMgr;
import com.yanqu.road.server.manger.activity.gourdchild.GourdChildMgr;
import com.yanqu.road.server.manger.activity.newyearbag.NewYearBagMgr;
import com.yanqu.road.server.manger.activity.oldplayerreturn.OldPlayerReturnMgr;
import com.yanqu.road.server.manger.activity.shuihu.ShuiHuMgr;
import com.yanqu.road.server.manger.activity.zhanling.ZhanLingActivityMgr;
import com.yanqu.road.server.manger.config.MallMgr;
import com.yanqu.road.server.manger.config.MallRechargeConfigMgr;
import com.yanqu.road.server.manger.log.AutoLogMgr;
import com.yanqu.road.server.manger.log.LogMgr;
import com.yanqu.road.server.manger.maidian.resource.BuyItemLog;
import com.yanqu.road.utils.date.DateHelper;
import com.yanqu.road.utils.property.Property;
import com.yanqu.road.utils.property.PropertyHelper;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.math.BigInteger;
import java.util.HashSet;
import java.util.Set;

public abstract class BaseActivityCondition {

    public static final Logger logger = LogManager.getLogger(BaseActivityCondition.class.getName());

    public GamePlayer player;

    protected final player_BoardLevelHandle handle = new player_BoardLevelHandle();
    /**
     * 任务条件
     */
    protected ActivityConditionInfo activityConditionInfo;

    protected BaseActivityData baseActivityData;

    protected ActivityInfo activityInfo;

    public BaseActivityCondition(ActivityInfo activityInfo, ActivityConditionInfo activityConditionInfo, BaseActivityData baseActivityData) {
        this.activityInfo = activityInfo;
        this.activityConditionInfo = activityConditionInfo;
        this.baseActivityData = baseActivityData;
        player = baseActivityData.getPlayer();
    }

    protected abstract void player_BoardLevelHandle(Object object);

    public abstract void addTrigger(GamePlayer player);

    public abstract void removeTrigger(GamePlayer player);

    public boolean isCompleted(GamePlayer player) {
        return false;
    }

    public boolean finish(GamePlayer player) {
        return true;
    }

    public boolean cancelFinish(GamePlayer player) {
        return true;
    }

    public final BigInteger getValue() {
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        return userActivityConditionData.getValue();
    }

    public final void setValue(BigInteger value) {
        if (!playerReturnConditionContinue()) {
            return;
        }
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        boolean oldIsCompleted = isCompleted(player);//未setValue前是否已达成
        userActivityConditionData.setValue(value);
        boolean newIsCompleted = isCompleted(player);//setValue后是否已达成
        player.getModule(ActivityModule.class).onActivityDataChanged(baseActivityData);

        // 累计充值 累天充值 每日充值需要自动发奖励
        if (activityConditionInfo.getType() == eGamePlayerEventType.Recharge.getValue() || activityConditionInfo.getType() == eGamePlayerEventType.RechargeDays.getValue()) {
            userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
            ActivityAutoRewardMgr.setValue(userActivityConditionData, userActivityConditionData.getModifyTime());
        }

        //condition达成日志
        if (eGamePlayerEventType.checkIsAddReachLog(activityConditionInfo.getType())) {
            if (!oldIsCompleted && newIsCompleted) {
                LogCommonActivityReach log = new LogCommonActivityReach(
                        activityInfo.getActivityId(),
                        player.getUserId(),
                        activityConditionInfo.getType(),
                        activityConditionInfo.getConditionId()
                );
                AutoLogMgr.add(log);
            }
        }
    }

    //会一直同步我日昍晶
    public final void setValueNoSync(BigInteger value) {
        if (!playerReturnConditionContinue()) {
            return;
        }
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        userActivityConditionData.setValue(value);
        player.getModule(ActivityModule.class).onActivityDataChangedNoSync(baseActivityData);

        // 累计充值 累天充值 每日充值需要自动发奖励
        if (activityConditionInfo.getType() == eGamePlayerEventType.Recharge.getValue() || activityConditionInfo.getType() == eGamePlayerEventType.RechargeDays.getValue()) {
            userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
            ActivityAutoRewardMgr.setValue(userActivityConditionData, userActivityConditionData.getModifyTime());
        }
    }

    /**
     * 新财神密卷是否可以完成任务
     * @return
     */
    public boolean wealthScrollCanFinish(ActivityInfo activityInfo) {
        if (activityInfo.getType() == eActivityType.WealthScroll.getValue()) {
            if (!player.getModule(WealthScrollModule.class).isNewWealthScrollInTime()){
                return false;
            }
        }
        return true;
    }

    public boolean playerReturnConditionContinue() {
        if (activityInfo.getType() == eActivityType.OldPlayerReturn.getValue()) {
            if (activityConditionInfo.getType() == eGamePlayerEventType.OldPlayerReturnBindRole.getValue()) {
                return true;
            }
            if (activityConditionInfo.getType() != eGamePlayerEventType.OldPlayerReturnOfflineDays.getValue()) {
                BaseActivityData baseActivityData = player.getModule(ActivityModule.class).getBaseActivityData(activityInfo.getActivityId());
                if (baseActivityData == null) {
                    return false;
                }
                BaseActivityCondition condition = baseActivityData.getFirstBaseActivityConditionByType(eGamePlayerEventType.OldPlayerReturnOfflineDays.getValue());
                return condition.isCompleted(player) && OldPlayerReturnMgr.checkReturnEffectiveTime(Long.valueOf(condition.getParam()));
            }
        }
        return true;
    }

    //第三个参数被用来配成对应天数的任务了
    public void sevenDayActivitySetValue(BigInteger value, BigInteger dayParam){
        //参数没有配置就是没有天数限制
        if(dayParam.compareTo(BigInteger.ZERO) == 0){
            setValue(value);
        }else{
            ActivityInfo curActivity = NormalActivityMgr.getActivityInfo(activityInfo.getActivityId());
            if(null == curActivity){
                curActivity = activityInfo;
            }
            long zeroTime;
            if (activityInfo.getType() == eActivityType.OldPlayerReturn.getValue()) {
                zeroTime = getOldPlayerReturnZeroTime();
                if (zeroTime == -1) {
                    return;
                }
            } else {
                zeroTime = DateHelper.getZeroTimeStamp(curActivity.getBeginTime()*1000);
            }
            long canUpdateTime = zeroTime + (dayParam.longValue()-1)*24*60*60*1000;
            if(System.currentTimeMillis() >= canUpdateTime){
                setValue(value);
            }
        }
    }

    /**
     * 某些活动是概率加进度
     */
    protected long specialActivityGetRealValue(long value) {
        if (activityInfo.getType() == eActivityType.NewYearBag.getValue()) {
            return NewYearBagMgr.randomTaskValue(activityConditionInfo.getType(), value);
        }
        return value;
    }

    /**
     * 获取老玩家回归活动任务开始时间
     * @return zeroTime
     */
    private long getOldPlayerReturnZeroTime() {
        BaseActivityData baseActivityData = player.getModule(ActivityModule.class).getBaseActivityData(activityInfo.getActivityId());
        if (baseActivityData == null) {
            return -1;
        }
        UserActivityConditionData conditionData = baseActivityData.getFirstUserActivityConditionDataByType(eGamePlayerEventType.OldPlayerReturnOfflineDays.getValue());
        if (conditionData.getParam().isEmpty()) {
            return -1;
        }
        return DateHelper.getZeroTimeStamp(Long.valueOf(conditionData.getParam()));
    }

    protected final BigInteger getPreValue() {
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        return userActivityConditionData.getPreValue();
    }

    public final void setPreValue(BigInteger value) {
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        userActivityConditionData.setPreValue(value);
    }

    protected final String getParam() {
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        return userActivityConditionData.getParam();
    }

    public final void setParam(String param) {
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        userActivityConditionData.setParam(param);
    }

    public void initSetPreValue() {

    }

    public void initDefaultValue(){

    }

    public int getConditionId() {
        return activityConditionInfo.getConditionId();
    }

    public int getConditionType(){
        return activityConditionInfo.getType();
    }

    public ActivityConditionInfo getActivityConditionInfo() {
        return activityConditionInfo;
    }

    public final void setGetReward(boolean isGetReward) {
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        userActivityConditionData.setGetReward(isGetReward);
        userActivityConditionData.setModifyTime(System.currentTimeMillis() / 1000);
        player.getModule(ActivityModule.class).onActivityDataChanged(baseActivityData);
    }

    public boolean isGetReward() {
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        return userActivityConditionData.isGetReward();
    }

    public String getReward() {
        String reward = "";
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        ActivityConditionInfo tempConditionInfo = NormalActivityMgr.getActivityConditionInfo(activityConditionInfo.getActivityId(), activityConditionInfo.getConditionId());
        if(null == tempConditionInfo){
            tempConditionInfo = activityConditionInfo;
        }
        if(!userActivityConditionData.isGetReward()) {
            reward = tempConditionInfo.getRewardStr();
            //表情包活动 根据选择 获取相对应的奖励
            if (tempConditionInfo.getType() == eGamePlayerEventType.ExpressionActivityChoose.getValue()) {
                if (getValue().intValue() == 2) {
                    reward = tempConditionInfo.getMasterRewardStr();
                }
            }
            //如果是回归玩家的每日登录的话 特殊处理
            if (activityInfo.getType() == eActivityType.OldPlayerReturn.getValue()) {        //累计登录有特殊奖励
                Property realLogineward = player.getModule(OldPlayerReturnModule.class).getRealLogineward(tempConditionInfo.getConditionId());
                if (!realLogineward.isNothing()) {
                    reward = PropertyHelper.parsePropertyToString(realLogineward);
                }
            }

            if(tempConditionInfo.getType() == eGamePlayerEventType.LiveShowTime.getValue()){
                player.getModule(AttributeModule.class).setAttribute(ePlayerAttrType.FirstLiveShowReward, 1);
            }
            userActivityConditionData.setGetReward(true);
            player.getModule(CurrencyModule.class).addCurrency(reward, eLogMoneyType.Activity, eLogMoneyType.ActivityReward);
            userActivityConditionData.setModifyTime(System.currentTimeMillis() / 1000);
            player.getModule(ActivityModule.class).onActivityDataChanged(baseActivityData);

            // 累计充值 累天充值 每日充值需要设置自动发奖的领奖状态
            if (tempConditionInfo.getType() == eGamePlayerEventType.Recharge.getValue() || tempConditionInfo.getType() == eGamePlayerEventType.RechargeDays.getValue()) {
                ActivityAutoRewardMgr.setValue(userActivityConditionData, userActivityConditionData.getModifyTime());
            }

            //领取奖励配置宴会帖，用跨服冲榜的跨服作为帖子跨服
            getRewardBanquetInv(reward);
            LogMgr.addLogActivityReward(player.getUserId(), activityInfo.getActivityId(), activityInfo.getType(), activityInfo.getChildType(),
                    tempConditionInfo.getConditionId(), 0, false, reward);
        }else {
            logger.error("already get reward activityId:{}; conditionId:{}", activityInfo.getActivityId(), getConditionId());
        }
        return reward;
    }

    /**
     * 领取特惠礼包
     */
    public String getSpecialActivityReward() {
        String reward = "";
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        ActivityConditionInfo tempConditionInfo = NormalActivityMgr.getActivityConditionInfo(activityInfo.getActivityId(), getConditionId());
        if(null == tempConditionInfo){
            tempConditionInfo = activityConditionInfo;
        }
        if(getValue().compareTo(tempConditionInfo.getParamList().get(1)) < 0) {//限购
            reward = tempConditionInfo.getRewardStr();
            userActivityConditionData.setValue(userActivityConditionData.getValue().add(BigInteger.ONE));
            player.getModule(CurrencyModule.class).addCurrency(tempConditionInfo.getReward(), eLogMoneyType.Activity, eLogMoneyType.ActivityReward);
            userActivityConditionData.setModifyTime(System.currentTimeMillis() / 1000);
            player.getModule(ActivityModule.class).onActivityDataChanged(baseActivityData);

            //特惠礼包配置宴会帖，用跨服冲榜的跨服作为帖子跨服
            getRewardBanquetInv(PropertyHelper.parsePropertyToString(tempConditionInfo.getReward()));
            LogMgr.addLogActivityReward(player.getUserId(), activityInfo.getActivityId(), activityInfo.getType(), activityInfo.getChildType(),
                    tempConditionInfo.getConditionId(), 0, false, tempConditionInfo.getRewardStr());
        }else {
            logger.error("already get reward activityId:{}; conditionId:{}", activityInfo.getActivityId(), getConditionId());
        }
        return reward;
    }

    /**
     * 获取活动中的跨服宴会帖，通过判断是否开启了跨服宴会冲榜来判断是否会发放对应区服的宴会帖
     */
    private void getRewardBanquetInv(String reward){
        if(isBanquetInvAc()){
            ActivityInfo activityInfo = NormalActivityMgr.getExistCrossBanquetRankActivity();
            if(activityInfo != null){
                player.getModule(BanquetModule.class).getCrossBanquetInvitationReward(reward,activityInfo.getServerListStr());
            }
        }
    }

    /**
     * 是否是支持发送跨服宴会帖的活动
     * @return
     */
    private boolean isBanquetInvAc(){
        if(activityInfo.getType() == eActivityType.RechargeActivity.getValue()){
            if(activityInfo.getChildType() == 2){//每日充值
                return true;
            }
            if(activityInfo.getChildType() == 4){//特惠礼包
                return true;
            }
            if(activityInfo.getChildType() == 9){//每日充值插入
                return true;
            }
            if(activityInfo.getChildType() == 10){//特惠礼包插入
                return true;
            }
            if (activityInfo.getChildType() == eActivityChargeType.EveryDayChargeReplace.getChildType()) {
                return true;
            }
        }
        return false;
    }

    /**
     * 现金礼包到账
     * @param mallId
     */
    public void getRMBMallActivityReward(int mallId) {
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        if(!userActivityConditionData.isGetReward()) {
            userActivityConditionData.setGetReward(true);
            MallInfo mallInfo = MallMgr.getMallInfoByMallId(mallId);
            String reward = "";
            if(null == mallInfo){
                logger.error("RMBMallActivity mall no find,mallId:{}", mallId);
            }else {
                reward = mallInfo.getReward();
                player.getModule(CurrencyModule.class).addCurrency(mallInfo.getReward(), eLogMoneyType.Activity, eLogMoneyType.RMBMallActivityReward);
                int index = NormalActivityMgr.getIndexByMallId(activityInfo.getActivityId(), userActivityConditionData.getConditionId(), mallId);
                int baseIndex = (int) player.getModule(AttributeModule.class).getAttribute(ePlayerAttrType.RechargeBaseIndex);
                if (index >= baseIndex - 1) {
                    if (baseIndex - 1 < NormalActivityMgr.getMaxIndex(activityInfo.getActivityId(), userActivityConditionData.getConditionId())) {
                        player.getModule(AttributeModule.class).setAttribute(ePlayerAttrType.RechargeBaseIndex, baseIndex + 1);
                    }
                }
            }
            userActivityConditionData.setModifyTime(System.currentTimeMillis() / 1000);
            player.getModule(ActivityModule.class).onActivityDataChanged(baseActivityData);
            LogMgr.addLogActivityReward(player.getUserId(), activityInfo.getActivityId(), activityInfo.getType(), activityInfo.getChildType(),
                    activityConditionInfo.getConditionId(), 0, false, reward);
            long price = MallRechargeConfigMgr.getPrice(mallInfo);
            AutoLogMgr.add(new LogTriggerRMBMallBuy(player.getUserId(), activityInfo.getActivityId(), activityConditionInfo.getConditionId(),
                    activityConditionInfo.getType(), mallId, price));
        }else {
            logger.error("already get reward activityId:{}; conditionId:{}", activityInfo.getActivityId(), getConditionId());
        }
    }

    /**
     * 设置现金礼包商品信息
     */
    public void setRMBMallActivityInfo(MallInfo mallInfo) {
        long nowTime = System.currentTimeMillis() / 1000;
        setRMBMallActivityInfo(mallInfo, nowTime, nowTime);
    }

    /**
     * 设置系统开放现金礼包商品信息
     * @param mallInfo
     */
    public void setSystemOpenRMBMallActivityInfo(MallInfo mallInfo) {
        long nowTime = System.currentTimeMillis() / 1000;
        // 系统开放礼包从0点开始计时
        setRMBMallActivityInfo(mallInfo, nowTime, DateHelper.getTodayZeroTime());
    }


    /**
     * 设置现金礼包商品信息
     */
    public void setRMBMallActivityInfo(MallInfo mallInfo, long triggerTime, long startTime) {
        if (null != mallInfo) {
            setPreValue(BigInteger.valueOf(triggerTime));      //设置触发时间
            ActivityInfo curActivity = NormalActivityMgr.getActivityInfo(activityInfo.getActivityId());
            if (null == curActivity) {
                curActivity = activityInfo;
            }
            setParam("" + (startTime + NormalActivityMgr.getRMBMallOverTime(curActivity)));      //设置结束时间
            setValue(BigInteger.valueOf(mallInfo.getMallId()));
            //增加触发日志
            long price = MallRechargeConfigMgr.getPrice(mallInfo);
            AutoLogMgr.add(new LogTriggerRMBMallTrigger(player.getUserId(), activityInfo.getActivityId(), activityConditionInfo.getConditionId(),
                    activityConditionInfo.getType(), player.getTitleId(), mallInfo.getMallId(), triggerTime, price));

            BuyItemLog.trackTriggerEject(player, activityConditionInfo.getConditionId(), mallInfo);
        } else {
            setValue(BigInteger.valueOf(-1));
        }
    }

    public final void setModifyTime(long modifyTime) {
        UserActivityConditionData userActivityConditionData = baseActivityData.getUserActivityConditionData(getConditionId());
        userActivityConditionData.setModifyTime(modifyTime);
        player.getModule(ActivityModule.class).onActivityDataChanged(baseActivityData);
    }

    public static BaseActivityCondition createCondition(ActivityInfo activityInfo, ActivityConditionInfo activityConditionInfo,
                                                        BaseActivityData baseActivityData) {
        if (activityConditionInfo.getType() == eGamePlayerEventType.EarnSpeedRiseRank.getValue()){//赚速提升冲榜
            return new EarnSpeedRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.IntimacyRiseRank.getValue()){//亲密度提升冲榜
            return new IntimacyRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.GlamourRiseRank.getValue()){//魅力值提升冲榜
            return new GlamourRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.QualificationRiseRank.getValue()){//资质提升冲榜
            return new QualificationRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.AbilityRiseRank.getValue()){//能力提升冲榜
            return new AbilityRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.TradeWarScoreRiseRank.getValue()){//商战积分提升冲榜
            return new TradeWarScoreRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ConsumeItemRank.getValue()){//道具消耗冲榜
            return new ConsumeItemRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PassThroughRank.getValue()){//关卡冲榜
            return new PassThroughRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ChildEarnSpeedRiseRank.getValue()){//子嗣赚速提升冲榜
            return new ChildEarnSpeedRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.Recharge.getValue()){//充值
            return new RechargeActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeDays.getValue()){//每日充值
            return new RechargeDaysActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.TradeWarKillPatronsCount.getValue()){//击败门客
            return new TradeWarKillPatronsCountActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.TradeWarChallengeTimes.getValue()){//挑战次数
            return new TradeWarChallengeTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ConsumeItem.getValue()){//道具消耗
            return new ConsumeItemActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PatronsUpgradeTimes.getValue()){//门客升级
            return new PatronsUpgradeTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.BeautyAddIntimacy.getValue()){//美女提升亲密度
            return new BeautyAddIntimacyActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.BeautyAddGlamour.getValue()){//美女提升魅力
            return new BeautyAddGlamourActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ChildTrainTimes.getValue()){//子嗣培养次数
            return new ChildTrainTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.MarriageTimes.getValue()){//联姻次数
            return new MarriageTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeItem.getValue()){//道具充值
            return new RechargeItemActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.LoginDays.getValue()){//白嫖
            return new LoginDaysActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.VipLevel.getValue()){//充值豪礼
            return new VipLevelActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.VehicleUpgradeTimes.getValue()){//珍兽升级
            return new VehicleUpgradeTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.BeautyTrystTimes.getValue()){//美女传唤
            return new BeautyTrystTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RecruitStaffCount.getValue()){//伙计招募
            return new RecruitStaffCountActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.HouseClickTimes.getValue()){//钱庄点击
            return new HouseClickTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.EarnSpeed.getValue()){//赚速活动
            return new EarnSpeedActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.BuildingUpgradeTimes.getValue()){//店铺升级次数
            return new BuildingUpgradeTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionConstructTimes.getValue()){//商会建设次数
            return new UnionConstructTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionMemberCount.getValue()){//商会成员数量
            return new UnionMemberCountActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionExpRiseRank.getValue()){//商会经验冲榜
            return new UnionExpRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionIntimacyRiseRank.getValue()){//商会亲密度冲榜
            return new UnionIntimacyRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionGlamourRiseRank.getValue()){//商会魅力值冲榜
            return new UnionGlamourRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionTradeWarScoreRiseRank.getValue()){//商会商战积分冲榜
            return new UnionTradeWarScoreRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionAbilityRiseRank.getValue()){//商会能力冲榜
            return new UnionAbilityRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionEarnSpeedRiseRank.getValue()){//商会赚速冲榜
            return new UnionEarnSpeedRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PatronsFund.getValue()){//门客基金
            return new PatronsFundCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.EarnSpeedFund.getValue()){//赚速基金
            return new EarnSpeedFundCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionSameNickname.getValue()){//商会同名
            return new UnionSameNicknameCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.UnionRechargeUser.getValue()){//商会充值人数
            return new UnionRechargeUserCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerEarnSpeedRiseRank.getValue()){//区服赚速排行
            return new ServerEarnSpeedRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerIntimacyRiseRank.getValue()){//区服亲密排行
            return new ServerIntimacyRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerAbilityRiseRank.getValue()) {//区服实力排行
            return new ServerAbilityRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerChildEarnSpeedRiseRank.getValue()) {//区服子嗣赚速排行
            return new ServerChildEarnSpeedRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerBanquetPopularityRiseRank.getValue()){//区服宴会人气排行
            return new ServerBanquetPopularityRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerQualificationRiseRank.getValue()){//区服资质排行
            return new ServerQualificationRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerTradeWarScoreRiseRank.getValue()){//区服商战排行
            return new ServerTradeWarScoreRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerGlamourRiseRank.getValue()){//区服魅力排行
            return new ServerGlamourRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.BanquetPopularityRank.getValue()){//宴会人气排行
            return new BanquetPopularityRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.HistoryRechargeVipExpDay.getValue()){//历史vipExp天数
            return new FirstRechargeVipDayCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeVipExpDay.getValue()){//活动期vipExp天数
            return new RechargeVipDayCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.SpringBanquetVip.getValue()){//活动期vipExp
            return new SpringBanquetVipExpCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.FirstRechargeVipExpDay.getValue()){//新首充礼包
            return new NewFirstRechargeVipDayCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ConsumeAddSilverItem.getValue()){//分钟卡消耗次数
            return new ConsumeAddSilverItemActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.TravelTimes.getValue()){//游历次数
            return new TravelTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.BanquetJoinTimes.getValue()){//参加宴会次数
            return new BanquetJoinTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.BanquetIntegral.getValue()){//宴会积分增加
            return new BanquetIntegralActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeBuildingUpgrade.getValue()){//现金礼包，店铺升级
            return new RechargeBuildingUpgradeActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeHouseUpgrade.getValue()){//现金礼包，钱庄升级
            return new RechargeHouseUpgradeActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeBankSkin.getValue()){//现金礼包，钱庄升级
            return new RechargeHouseSkinCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargePatronsBreak.getValue()){//现金礼包，门客突破
            return new RechargePatronsBreakActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeChildTrain.getValue()){//现金礼包，子嗣培养
            return new RechargeChildTrainActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeTravel.getValue()){//现金礼包，游历
            return new RechargeTravelActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeBeautyCount.getValue()){//现金礼包，拥有美女
            return new RechargeBeautyCountActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeThroughPass.getValue()){//现金礼包，关卡
            return new RechargeThroughPassActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeEstateMoveFloor.getValue()){//现金礼包，乔迁
            return new RechargeEstateMoveFloorActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeTradeWarChallenge.getValue()){//现金礼包，商战挑战
            return new RechargeTradeWarChallengeActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeOrangePatronsCount.getValue()){//现金礼包，拥有传奇门客数量
            return new RechargeOrangePatronsCountActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeLotteryTimes.getValue()){//现金礼包，幸运夺宝次数
            return new RechargeLotteryTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.TrystValueRise.getValue()){//苗寨幽会进度值增加
            return new TrystValueActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HolidayActivityScoreCrossRank.getValue()) { //跨服节日活动
            return new HolidayActivityScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HolidayActivityScoreRank.getValue()) { //本服节日活动
            return new HolidayActivityScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HolidayActivityProgress.getValue()){
            return new HolidayActivityProgressCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HuaShiGangScoreRank.getValue()) {
            return new HuaShiGangScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PageantSingleScoreRank.getValue()) {
            return new PageantSingleScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PageantTotalScoreRank.getValue()) {
            return new PageantTotalScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PageantSingleScoreCrossRank.getValue()) {
            return new PageantSingleScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PageantTotalScoreCrossRank.getValue()) {
            return new PageantTotalScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ThrowingPotScoreRank.getValue()) {
            return new ThrowingPotRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ThrowingPotScoreCrossRank.getValue()) {
            return new ThrowingPotCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ThrowingPotCombinationTimes.getValue()) {
            return new ThrowingPotCombinationTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.InnCookTimes.getValue()){
            return new InnCookTimesActivityCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.YearMasterScoreRank.getValue()){
            return new YearMasterScoreRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.YearMasterScoreCrossRank.getValue()){
            return new YearMasterScoreCrossRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.YearMasterItemTimes.getValue()){
            return new YearMasterItemTimesCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.YearMasterBossState.getValue()){
            return new YearMasterBossScoreCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PplScoreRank.getValue()) {
            return new PplScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PplScoreCrossRank.getValue()) {
            return new PplScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TreasureActivityScoreRank.getValue()){
            return new TreasureActivityScoreRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TreasureActivityScoreCrossRank.getValue()){
            return new TreasureActivityScoreCrossRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TreasureActivityProgress.getValue()){
            return new TreasureActivityProgressCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JianChuangHuaScoreRank.getValue()) {
            return new JianChuangHuaScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JianChuangHuaScoreCrossRank.getValue()) {
            return new JianChuangHuaScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JianChuangHuaCombTimes.getValue()) {
            return new JianChuangHuaCombTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DrawPicturesIntegralRank.getValue()) {
            return new DrawPicturesIntegralRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DrawPicturesIntegralCrossRank.getValue()) {
            return new DrawPicturesIntegralCrossRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DrawPicturesCombPrayTimes.getValue()) {
            return new DrawPicturesCombPrayTimesCondition(activityInfo,activityConditionInfo,baseActivityData);
        }  else if (activityConditionInfo.getType() == eGamePlayerEventType.DaFuWengScoreRank.getValue()) {
            return new DFWScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DaFuWengUnionScoreRank.getValue()) {
            return new DFWUnionScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DuFuWengPassYuanLinTimes.getValue()) {
            return new DFWPassYuanLinTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DaFuWengDamageRank.getValue()) {
            return new DFWDamageRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DaFuWengUnionDamageRank.getValue()) {
            return new DFWUnionDamageRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FaceBookFunFollowNum.getValue()) {
            return new FaceBookFollowNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TangHuLuSweetValAchieve.getValue()) {
            return new TangHuLuSweetValAchieveCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TangHuLuScoreRank.getValue()) {
            return new TangHuLuActivityScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TangHuLuScoreCrossRank.getValue()) {
            return new TangHuLuActivityScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuScoreRank.getValue()) {
            return new ShuiHuScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuAllCombTimes.getValue()) {
            return new ShuiHuAllCombTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BusyFarmingScoreRank.getValue()) {
            return new BusyFarmingScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BusyFarmingScoreCrossRank.getValue()) {
            return new BusyFarmingScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeClinicCureCount.getValue()) {
            return new RechargeClinicActivityCondition(activityInfo, activityConditionInfo, baseActivityData);  //现金礼包，医馆
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BusyFarmingGrade.getValue()) {
            return new BusyFarmingGradeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BowArtActivityScoreRank.getValue()) {
            return new BowArtActivityScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BowArtActivityScoreCrossRank.getValue()) {
            return new BowArtActivityScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BowArtActivityUnionScoreRank.getValue()){
            return new BowArtActivityUnionScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BowArtActivityUnionScoreCrossRank.getValue()){
            return new BowArtActivityUnionScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }  else if (activityConditionInfo.getType() == eGamePlayerEventType.GhostScoreRank.getValue()) {
            return new GhostScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GhostUnionScoreRank.getValue()) {
            return new GhostUnionScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GhostTokenCount.getValue()) {
            return new GhostTokenCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (ZhanLingActivityMgr.isZhanLingGiftCondition(activityConditionInfo.getType())) {
            return new ZhanLingGiftCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SuoYaoScoreRank.getValue()) {
            return new SuoYaoScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SuoYaoExploreItemUse.getValue()) {
            return new SuoYaoItemUsedCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ClinicScoreRiseRank.getValue()) {
            return new ClinicScoreRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ServerClinicScoreRiseRank.getValue()) {
            return new ServerClinicScoreRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ClinicReception.getValue()) {
            return new ClinicReceptionActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HangHaiUnionMoneyRank.getValue()) {
            return new HangHaiUnionMoneyRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HangHaiMoneyTask.getValue()) {
            return new HangHaiMoneyTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionMallBuyTimes.getValue()) {
            return new UnionMallBuyTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionRecruitStaffCount.getValue()) {
            return new UnionRecruitStaffCountActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionBeautyTrystTimes.getValue()) {
            return new UnionBeautyTrystTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionChildTrainTimes.getValue()) {
            return new UnionChildTrainTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionMarriageTimes.getValue()) {
            return new UnionMarriageTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionTradeWarKillPatronsCount.getValue()) {
            return new UnionTradeWarKillPatronsCountActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionTravelTimes.getValue()) {
            return new UnionTravelTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionPatronsUpgradeTimes.getValue()) {
            return new UnionPatronsUpgradeTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionHouseClickTimes.getValue()) {
            return new UnionHouseClickTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionUnionConstructTimes.getValue()) {
            return new UnionUnionConstructTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionVehicleUpgradeTimes.getValue()) {
            return new UnionVehicleUpgradeTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionBanquetJoinTimes.getValue()) {
            return new UnionBanquetJoinTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionBanquetIntegral.getValue()) {
            return new UnionBanquetIntegralActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionBeautyAddGlamour.getValue()) {
            return new UnionBeautyAddGlamourActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionInnCookTimes.getValue()) {
            return new UnionInnCookTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionParergonOperateTimes.getValue()) {
            return new UnionParergonOperateTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionUnionMallBuyTimes.getValue()) {
            return new UnionUnionMallBuyTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionBeautyEscortSkillUpgradeTimes.getValue()) {
            return new UnionBeautyEscortSkillUpActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionWineShopReception.getValue()) {
            return new UnionWindShopReceptionActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HangHaiMoneyRank.getValue()) {
            return new HangHaiMoneyRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PawnshopOperateDays.getValue()){//永安当经营天数
            return new PawnshopOperateDaysCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PawnshopScoreRank.getValue()){//永安当积分排行
            return new PawnshopScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PawnshopScoreCrossRank.getValue()){//永安当跨服积分排行
            return new PawnshopScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FraudPreventionGuidelines.getValue()) {
            return new FraudPreventionGuidelinesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GuGuoXunBaoClueNumRank.getValue()) {
            return new GuGuoXunBaoClueNumRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GuGuoXunBaoClueNumCrossRank.getValue()) {
            return new GuGuoXunBaoClueNumCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GuGuoXunBaoTreasureValue.getValue()) {
            return new GuGuoXunBaoTreasureValueCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DrinkActivityScoreRank.getValue()) {
            return new DrinkScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DrinkActivityCrossScoreRank.getValue()) {
            return new DrinkCrossScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DragonBoatRaceActivityScoreRank.getValue()){ // 赛龙舟个人排行
            return new DragonBoatRaceActivityScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DragonBoatRaceActivityScoreCrossRank.getValue()) { // 赛龙舟个跨服排行
            return new DragonBoatRaceActivityScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DragonBoatRaceActivityUnionScoreRank.getValue()) { // 赛龙舟本服商会排行
            return new DragonBoatRaceActivityUnionScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DragonBoatRaceActivityUnionScoreCrossRank.getValue()){ // 赛龙舟跨服商会排行
            return new DragonBoatRaceActivityUnionScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiaYueScoreRank.getValue()) {
            return new XiaYueScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiaYueCrossScoreRank.getValue()) {
            return new XiaYueCrossScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiaYueCombTimes.getValue()) {
            return new XiaYueCombTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ShareNum.getValue()) {
            return new ShareNumActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ShareEarnSpeed.getValue()) {
            return new ShareEarnSpeedActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ShareRecharge.getValue()) {
            return new ShareRechargeActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DunHuangShiKuScoreCrossRank.getValue()){
            return new DunHuangShiKuScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DunHuangShiKuTeamScoreCrossRank.getValue()){
            return new DunHuangShiKuScoreCrossTeamRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ManorOutPutCountRank.getValue()) {
            return new ManorOutPutRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ServerManorOutPutCountRank.getValue()) {
            return new ServerManorOutPutRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BeautyEscortAddExpRank.getValue()) {
            return new BeautyEscortAddExpRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ServerBeautyEscortAddExpRank.getValue()) {
            return new ServerBeautyEscortAddExpRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }  else if(activityConditionInfo.getType() == eGamePlayerEventType.CelebrationActivityFestiveCrossTotalValue.getValue()) {
            return new CelebrationActivityFestiveValueCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.CelebrationActivityScoreRank.getValue()) {
            return new CelebrationActivityScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.CelebrationActivityScoreCrossRank.getValue()) {
            return new CelebrationActivityScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.LanRuoSiActivityScoreRank.getValue()){
            return new LanRuoSiScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.LanRuoSiActivityCrossScoreRank.getValue()){
            return new LanRuoSiCrossScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.LanRuoSiAttackMonsterNumByType.getValue()){
            return new LanRuoSiAttackMonsterNumByTypeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.LanRuoSiAttackMonsterTotalNum.getValue()){
            return new LanRuoSiAttackMonsterTotalNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.LanRuoSiAttackMonsterTotalDamage.getValue()){
            return new LanRuoSiAttackMonsterTotalBloodCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.LanRuoSiAttackMonsterOnceMaxBlock.getValue()){
            return new LanRuoSiAttackMonsterOnceMaxBlockCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeWineShopReceptionCount.getValue()) {
            return new RechargeWineShopActivityCondition(activityInfo, activityConditionInfo, baseActivityData);  //现金礼包，酒肆
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WineShopPleasureRiseRank.getValue()) {
            return new WineShopPleasureRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ServerWineShopPleasureRank.getValue()) {
            return new ServerWineShopPleasureRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.BeautyFundNum.getValue()) {
            return new BeautyFundActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeManor.getValue()) {
            return new RechargeManorCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeZsOpen.getValue()) {
            return new RechargeZsOpenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeInn.getValue()) {
            return new RechargeInnCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GourdChildLotusLv.getValue()){
            return new GourdChildLotusLvCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GourdChildPassTotalStar.getValue()){
            return new GourdChildPassTotalStarCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GourdChildDamageRank.getValue()){
            return new GourdChildOnceMaxDamageRandCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GourdChildDamageCrossRank.getValue()){
            return new GourdChildOnceMaxDamageCrossRandCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GourdChildPassProgressRank.getValue()){
            return new GourdChildPassProgressRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GourdChildPassProgressCrossRank.getValue()){
            return new GourdChildPassProgressCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GourdPlantKeepsakeNum.getValue()){
            return new GourdPlantKeepsakeNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GourdPlantScoreRank.getValue()){
            return new GourdPlantScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GourdPlantScoreCrossRank.getValue()){
            return new GourdPlantScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.MonopolyMarketRank.getValue()) {
            return new MonopolyMarketRankActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.MonopolyMarketServerRank.getValue()) {
            return new ServerMonopolyMarketRankActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.WinterLoveRank.getValue()){
            return new WinterLoveRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.WinterLoveBlessCount.getValue()){
            return new WinterLoveBlessTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.YingXinScoreRank.getValue()) {
            return new YingXinScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.YingXinCrossScoreRank.getValue()) {
            return new YingXinCrossScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FishPondRankActivityRank.getValue()) {
            return new FishPondRankActivityRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FishPondRankActivityServerRank.getValue()) {
            return new ServerFishPondRankActivityRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChatActivity.getValue()) {
            return new ChatActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.HellActivityScoreRank.getValue()){
            return new HellScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.HellActivityScoreCrossRank.getValue()){
            return new HellScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.HellActivityScore.getValue()){
            return new HellScoreValueCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ExpressionActivityChoose.getValue()){
            return new ExpressionActivityChooseCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeTitle.getValue()) {
            return new RechargeTitleActivityCondition(activityInfo, activityConditionInfo, baseActivityData);  //现金礼包，身份
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DailyDiscountOneKeyBuy.getValue()) {
            return new DailyDiscountOneKeyBuyCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.WealthGodGifts.getValue()) {
            return new WealthGodGiftsCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerOpenGifts.getValue()) {
            return new ServerOpenGiftsCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DailyDiscountFreeGifts.getValue()) {
            return new DailyDiscountFreeGiftsCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.QyfxInviteNewPlayer.getValue()) {
            return new QyfxActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType()==eGamePlayerEventType.XiaowuRecallRank.getValue()){
            return new XiaowuRecallScoreRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        }else if (activityConditionInfo.getType()==eGamePlayerEventType.XiaowuRecallSoulTask.getValue()){
            return new XiaowuSoulTaskCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DouLuoDaLuPhaseOneUserScoreCrossRank.getValue()){
            return new DouLuoDaLuPhaseOneUserScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DouLuoDaLuPhaseTwoUserScoreCrossRank.getValue()){
            return new DouLuoDaLuPhaseTwoUserScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DouLuoDaLuPhaseTwoTeamScoreCrossRank.getValue()){
            return new DouLuoDaLuPhaseTwoTeamScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.DouLuoShrekActivityScoreCrossRank.getValue()){
            return new ShrekScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.DouLuoShrekActivityScoreCrossRank2.getValue()){
            return new ShrekScoreCrossRank2Condition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.DouLuoShrekActivityLevelUpBuilding.getValue()){//斗罗史莱克学院升级建筑
            return new DouluoShrekBuildingUpTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.DouLuoShrekActivityLevelUpBuilding2.getValue()){//斗罗史莱克学院升级建筑
            return new DouluoShrekBuildingUpTimes2Condition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GrandChildEarnSpeedRiseRank.getValue()){//孙子赚速排行
            return new GrandChildEarnSpeedRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.CrossGrandChildEarnSpeedRiseRank.getValue()){//跨服孙子赚速排行
            return new GrandChildEarnSpeedRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ServerGrandChildEarnSpeedRiseRank.getValue()){//区服孙子赚速排行
            return new ServerGrandChildEarnSpeedRiseRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.OldPlayerReturnOfflineDays.getValue()) {
            return new OldPlayerReturnOfflineDaysCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BankCreditValueAdd.getValue()) {
            return new BankCreditValueAddCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ManorProsperousValueAdd.getValue()) {
            return new ManorProsperousValueAddCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ClinicScoreAdd.getValue()) {
            return new ClinicScoreAddCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WineShopPopularityValueAdd.getValue()) {
            return new WineShopPopularityValueAddCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BeautyEscortExpAdd.getValue()) {
            return new BeautyEscortExpAddCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.MonopolyMarketJoinOfficeTimes.getValue()) {
            return new MonopolyMarketJoinOfficeTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FishPondScoreAdd.getValue()) {
            return new FishPondScoreAddCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.OldPlayerReturnBindRole.getValue()) {
            return new OldPlayerReturnBindRoleCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeGrandChild.getValue()) {
            return new RechargeGrandChildActivityCondition(activityInfo, activityConditionInfo, baseActivityData);  //现金礼包，山庄
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.OnlyEscortAddExpRank.getValue()) {
            return new OnlyEscortAddExpRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ServerOnlyEscortAddExpRank.getValue()) {
            return new ServerOnlyEscortAddExpRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiaoyuCostumeActivityProgressValue.getValue()) { //小玉服装活动进度值
            return new XiaoyuCostumeActivityProgressValueCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuYeZiCardTotalCardLevel.getValue()) {
            return new ShuiHuYeZiCardTotalCardLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuYeZiCardMaxScoreLevel.getValue()) {
            return new ShuiHuYeZiCardMaxScoreLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuYeZiCardNumberOfGoldCards.getValue()) {
            return new ShuiHuYeZiCardNumberOfGoldCardsCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuYeZiCardTotalCardLevelRank.getValue()) {
            return new ShuiHuYeZiCardTotalCardLevelRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuYeZiCardScoreRank.getValue()) {
            return new ShuiHuYeZiCardScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.SpringDinnerBall.getValue()) {
            return new SpringDinnerBallActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.SpringDinnerScoreCrossRank.getValue()) {
            return new SpringDinnerGameCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.SpringDinnerMaxScoreCrossRank.getValue()) {
            return new SpringDinnerGameMaxScoreCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SeacraftPirateRiotScoreRank.getValue()) {
            return new SeacraftPirateRiotScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SeacraftPirateRiotUnionScoreRank.getValue()) {
            return new SeacraftPirateRiotUnionScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.SeacraftSouthSeaUserScoreRank.getValue()) {
            return new SeaCraftSouthSeaUserScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.SeacraftSouthSeaUnionRank.getValue()) {
            return new SeaCraftSouthSeaUnionRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ToyHouseCrossScoreRank.getValue()) {
            return new ToyHouseCrossScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ToyHouseCombTimes.getValue()) {
            return new ToyHouseCombTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ToyHouseCandyCount.getValue()) {
            return new ToyHouseCandyCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        }  else if(activityConditionInfo.getType() == eGamePlayerEventType.SeacraftSouthSeaGetMedalNum.getValue()) {
            return new SeaCraftSouthSeaGetMedalCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.ChineseChessTopScoreRank.getValue()) {
            return new ChineseChessCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.ChineseChessBronzeToken.getValue()) {
            return new ChineseChessBronzeTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.ChineseChessSilverToken.getValue()) {
            return new ChineseChessSilverTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.ChineseChessGoldToken.getValue()) {
            return new ChineseChessGoldTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.ShuShanFinishEncounter.getValue()) {
            return new ShuShanFinishEncounterCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ShuShanMaxMagicUserRank.getValue()) {
            return new ShuShanMaxMagicUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ShuShanBuildTotalLevel.getValue()) {
            return new ShuShanBuildTotalLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DAY_FIRST_INN.getValue()) {
            return new DayFirstInnCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DAY_FIRST_NPC_TRADE.getValue()) {
            return new DayFirstNpcTradeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DAY_FIRST_OPEN_BUILDING.getValue()) {
            return new DayFirstOpenBuildingCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TongBingZhanGong.getValue()) {
            return new TongBingZhanGongCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TongBingUserZhanGongRank.getValue()) {
            return new TongBingUserZhanGongRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TongBingCampUnionZhanGongRank.getValue()) {
            return new TongBingCampUnionZhanGongRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TongBingCampScoreRank.getValue()) {
            return new TongBingCampScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TongBingCampBoxScore.getValue()) {
            return new TongBingCampBoxScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.SuiTangUserZhanGongRank.getValue()) {
            return new SuiTangUserScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SuiTangUnionScoreRank.getValue()) {
            return new SuiTangUnionScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SuiTangUserZhanGong.getValue()) {
            return new SuiTangZhanGongCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.SuiTangUnionZhanLingXC.getValue()) {
            return new SuiTangUnionZhanLingXCCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.SuiTangUnionZhanLingZC.getValue()) {
            return new SuiTangUnionZhanLingZCCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.SuiTangUnionZhanLingGC.getValue()) {
            return new SuiTangUnionZhanLingGCCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.SuiTangUnionMinXin.getValue()) {
            return new SuiTangMinXinCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChuHanZhanGong.getValue()) {
            return new ChuHanZhanGongCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChuHanUserZhanGongRank.getValue()) {
            return new ChuHanUserZhanGongRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChuHanCampUnionZhanGongRank.getValue()) {
            return new ChuHanCampUnionZhanGongRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChuHanCampScoreRank.getValue()) {
            return new ChuHanCampScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChuHanCampBoxScore.getValue()) {
            return new ChuHanCampBoxScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChuHanUnionZhanGong.getValue()) {
            return new ChuHanUnionZhanGongCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChuHanDailyOccupyCity.getValue()) {
            return new ChuHanDailyOccupyCityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.QQPrivilegeLv.getValue()) {
            return new QQPrivilegeCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.ClinicReceptionTimes.getValue()) {
            return new ClinicReceptionTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.WineShopReception.getValue()) {
            return new WineShopReceptionCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.FishingTimes.getValue()) {
            return new FishingTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.GrandChildTrainTimes.getValue()) {
            return new GrandChildTrainTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.BeautyEscortTimes.getValue()) {
            return new BeautyEscortTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.WingRoomGetEventRewardTimes.getValue()) {
            return new WingRoomGetEventRewardTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.ZhaoshangCanyu.getValue()) {
            return new ZhaoshangCanyuCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.CharitableTimes.getValue()) {
            return new CharitableTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.BeautyModifyBuildingTimes.getValue()) {
            return new BeautyModifyBuildingTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.BeautyEscortSkillUpgradeTimes.getValue()) {
            return new BeautyEscortSkillUpgradeTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.PaintedEggsEvent.getValue()) {
            return new PaintedEggsEventCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DrugStoreTongBiCrossUserRank.getValue()) {
            return new DrugStoreTongBiCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DrugStoreTongBiUserRank.getValue()) {
            return new DrugStoreTongBiRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.DrugStoreTongBiCrossServerRank.getValue()) {
            return new DrugStoreTongBiCrossServerRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeDrugStore.getValue()) {
            return new RechargeDrugStoreActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.MemoryPiecesProgress.getValue()) {
            return new MemoryPiecesProgressCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZhouNianTurntableTimes.getValue()) {
            return new ZhouNianTurntableTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZhouNianTurntableScoreRank.getValue()) {
            return new ZhouNianTurntableScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ClimbTowerCellNumCrossRank.getValue()) {
            return new ClimbTowerCellNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ClimbTowerOrangeRuneAchievement.getValue()) {
            return new ClimbTowerOrangeRuneNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ClimbTowerGreenRuneAchievement.getValue()) {
            return new ClimbTowerGreenRuneNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ClimbTowerPurpleRuneAchievement.getValue()) {
            return new ClimbTowerPurpleRuneNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ClimbTowerBlueRuneAchievement.getValue()) {
            return new ClimbTowerBlueRuneNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        }  else if (activityConditionInfo.getType() == eGamePlayerEventType.WineryAromaRankActivityUserRank.getValue()) {
            return new WineryAromaActivityUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.WineryAromaRankActivityCrossUserRank.getValue()) {
            return new WineryAromaActivityCrossUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.WineryAromaRankActivityCrossServerRank.getValue()) {
            return new WineryAromaActivityCrossServerRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeWineryMake.getValue()) {
            return new RechargeWineryMakeMallActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.OperaMaskSumScoreRank.getValue()) {
            return new OperaMaskSumScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.OperaMaskSumSkillLevel.getValue()) {
            return new OperaMaskSumSkillLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.OperaMaskScenePingJi.getValue()) {
            return new OperaMaskScenePingJiCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.OperaMaskBronzeToken.getValue()) {
            return new OperaMaskBronzeTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.OperaMaskSilverToken.getValue()) {
            return new OperaMaskSilverTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.OperaMaskGoldToken.getValue()) {
            return new OperaMaskGoldTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeNewPlayerVehiclePackage.getValue()) {
            return new RechargeNewPlayerVehiclePackageActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.NewServerWelfareTime.getValue()){
            return new NewServerWelfareTimeCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.NewServerWelfareMission.getValue()){
            return new NewServerWelfareMissionCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.NewServerWelfareDrawTimes.getValue()){
            return new NewServerWelfareDrawCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.DrugStoreBusinessTimes.getValue()){//药铺营业次数
            return new DrugStoreBusinessTimesActivityCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.WineryMakeTimes.getValue()){//酒坊酿酒次数
            return new WineryMakeTimesActivityCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RankUnionWarUnionScoreRank.getValue()) {
            return new RankUnionWarUnionScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RankUnionWarMatchGuess.getValue()) {
            return new RankUnionWarMatchGuessCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RankUnionWarKillCount.getValue()) {
            return new RankUnionWarKillCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RankUnionWarDivision.getValue()) {
            return new RankUnionWarDivisionCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargePotentialAnd.getValue()) {
            return new RechargePotentialAndCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargePotentialOr.getValue()) {
            return new RechargePotentialOrCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FellingTreesLevelRank.getValue()) {
            return new FellingTreesLevelRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FellingTreesLevelCondition.getValue()) {
            return new FellingTreesLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FellingTreesAttackCondition.getValue()) {
            return new FellingTreesAttackCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PastureMaxScoreRank.getValue()) {
            return new PastureMaxScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PastureBronzeToken.getValue()) {
            return new PastureBronzeTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PastureSilverToken.getValue()) {
            return new PastureSilverTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PastureGoldToken.getValue()) {
            return new PastureGoldTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PastureActivateAnimals.getValue()) {
            return new PastureActivateAnimalsCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TombUnionNianTuNum.getValue()) {
            return new TombUnionNianTuCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TombRelicNum.getValue()){
            return new TombUserRelicCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TombUserRank.getValue()){
            return new TombScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TombUnionRank.getValue()){
            return new TombScoreUnionRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GreatTradeAssetCrossRank.getValue()) {
            return new GreatTradeAssetCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GreatTradePrestigeCrossRank.getValue()) {
            return new GreatTradePrestigeCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GreatTradeFate.getValue()) {
            return new GreatTradeFateCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GreatTradeMerchant.getValue()) {
            return new GreatTradeMerchantCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GreatTradeBronzeToken.getValue()) {
            return new GreatTradeBronzeTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GreatTradeSliverToken.getValue()) {
            return new GreatTradeSliverTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GreatTradeGoldToken.getValue()) {
            return new GreatTradeGoldTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TwinsUserScoreRank.getValue()) {
            return new TwinsUserScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TwinsUnionScoreRank.getValue()) {
            return new TwinsUnionScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TwinsPassDamageRank.getValue()) {
            return new TwinsPassDamageRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TwinsKangfuComb.getValue()) {
            return new TwinsKungFuCombCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TwinsKangfuAllLevel.getValue()) {
            return new TwinsKungFuLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RankUnionWarWinTimes.getValue()) {
            return new RankUnionWarWinTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeBuildingUpgradeNew.getValue()) {
            return new RechargeBuildingUpgradeNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargePatronsBreakNew.getValue()) {
            return new RechargePatronsBreakNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeChildTrainNew.getValue()) {
            return new RechargeChildTrainNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeTravelNew.getValue()) {
            return new RechargeTravelNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeBeautyCountNew.getValue()) {
            return new RechargeBeautyCountNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeLotteryTimesNew.getValue()) {
            return new RechargeLotteryTimesNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeClinicCureCountNew.getValue()) {
            return new RechargeClinicNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeZsReward.getValue()) {
            return new RechargeZsRewardCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeManorNew.getValue()) {
            return new RechargeManorNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeWineShopReceptionCountNew.getValue()) {
            return new RechargeWineShopNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeGrandChildNew.getValue()) {
            return new RechargeGrandChildNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeDrugStoreNew.getValue()) {
            return new RechargeDrugStoreNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeWineryMakeNew.getValue()) {
            return new RechargeWineryMakeMallNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeEstateMoveFloorNew.getValue()) {
            return new RechargeEstateMoveFloorNewCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WasheScoreSmallRank.getValue()) {
            return new WasheScoreSmallRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CatActivityPassRank.getValue()) {
            return new CatPassProgressCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CatActivitySwordLevel.getValue()) {
            return new CatActivitySwordLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WorldCupScoreRank.getValue()) {
            return new WorldCupScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WorldCupSkillLevel.getValue()) {
            return new WorldCupLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LiveShowDailyTime.getValue()) {//每日直播时间
            return new LiveShowDailyTimeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LiveShowWasheWinTimes.getValue()) {//直播期间瓦舍胜利
            return new LiveShowWasheWinTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LiveShowTime.getValue()) {//首次直播时间
            return new LiveShowTimeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LiveShowDay.getValue()) {//直播天数
            return new LiveShowDayCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CatActivityDamageRank.getValue()) {
            return new CatActivityDamageRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PeakStrongHoldGuessWin.getValue()) {
            return new PeakStrongHoldGuessWinCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.PeakStrongHoldGuessChampion.getValue()) {
            return new PeakStrongHoldGuessChampionCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.PeakStrongHoldUserDamageRank.getValue()) {
            return new PeakStrongHoldUserDamageRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.PeakStrongHoldUnionIntegralRank.getValue()) {
            return new PeakStrongHoldUnionIntegralRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LionDanceScoreRank.getValue()) {
            return new LionDanceScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LionDanceMakeLionProcess.getValue()) {
            return new LionDanceMakeLionProcessCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CarpTripCellNumCrossRank.getValue()) {
            return new CarpTripCellNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CarpTripBigDrawProcess.getValue()) {
            return new CarpTripBigDrawProcessCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CarpTripNormalCellPass.getValue()) {
            return new CarpTripNormalCellPassCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeCricketTrain.getValue()){//现金礼包，蛐蛐培养
            return new RechargeCricketTrainCondition(activityInfo, activityConditionInfo, baseActivityData, activityConditionInfo.getType());
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.VehicleSkillModifyTimes.getValue()) {
            return new VehicleSkillModifyTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GiveLikeTimes.getValue()) {
            return new GiveLikeTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionBargain.getValue()) {
            return new UnionBargainActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PlayWasheTimes.getValue()) {
            return new PlayWasheTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TaoBaoTimes.getValue()) {
            return new TaoBaoTimesActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FireWorkScoreRank.getValue()) {
            return new FireWorkUserScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FireWorkHappyValue.getValue()) {
            return new FireWorkHappyValueCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FireWorkSpUseCount.getValue()) {
            return new FireWorkSpUseCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FireWorkSpGetCount.getValue()) {
            return new FireWorkSpGetCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FanXiuSpringScoreRank.getValue()) {
            return new FanXiuSpringScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FanXiuSpringLoginDays.getValue()) {
            return new FanXiuSpringLoginDaysCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FanXiuSpringPieceUnLock.getValue()) {
            return new FanXiuSpringPieceUnLockCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiuXianXianLiRank.getValue()) {
            return new XiuXianXianLiRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiuXianState.getValue()) {
            return new XiuXianActivityStateCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiuXianXianLi.getValue()) {
            return new XiuXianActivityXianLiCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiuXianSectUseEnergyCount.getValue()) {
            return new XiuXianSectUseEnergyCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiuXianAttackScore.getValue()) {
            return new XiuXianActivityAttackScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiuXianPersonalScoreRank.getValue()) {
            return new XiuXianPersonalScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiuXianSectScoreRank.getValue()) {
            return new XiuXianCampScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FlowerCardCrossScoreRank.getValue()) {
            return new FlowerCardCrossScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GoldAutumnScoreCrossRank.getValue()) {
            return new GoldAutumnCrossScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FlowerCardScore.getValue()) {
            return new FlowerCardScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FlowerCardBronzeToken.getValue()) {
            return new FlowerCardBronzeTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FlowerCardSliverToken.getValue()) {
            return new FlowerCardSliverTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FlowerCardGoldToken.getValue()) {
            return new FlowerCardGoldTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CricketFund.getValue()) {
            return new CricketFundCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JieShiTotalJiaoZi.getValue()) {
            return new JieShiActivityJiaoZiCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JieShiLevel.getValue()) {
            return new JieShiLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JieShiJiaoZiRank.getValue()) {
            return new JieShiJiaoZiRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PeakSeacraftUserScoreRank.getValue()) {
            return new PeakSeaCraftUserScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PeakSeacraftUnionRank.getValue()) {
            return new PeakSeaCraftUnionRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PeakSeacraftArea.getValue()) {
            return new PeakSeaCraftAreaCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.PeerlessBeautyLotteryRank.getValue()) {
            return new PeerlessBeautyLotteryRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TonBingZhanGong.getValue()) {
            return new TonBingZhanGongCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TonBingUserZhanGongRank.getValue()) {
            return new TonBingUserZhanGongRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TonBingCampUnionZhanGongRank.getValue()) {
            return new TonBingCampUnionZhanGongRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TonBingCampScoreRank.getValue()) {
            return new TonBingCampScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TonBingCampBoxScore.getValue()) {
            return new TonBingCampBoxScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ActivePlayerRecallOldPlayerNum.getValue()) {
            return new RecallPlayerTotolBindCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DrugStoreScoreRise.getValue()) {
            return new DragStoreScoreRiseCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WineryAromaScoreRise.getValue()) {
            return new WineryAromaScoreRiseCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SmallGamePlayerTime.getValue()) {
            return new SmallGamePlayTimeCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CricketScoreRise.getValue()) {
            return new CricketScoreRiseCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BanquetTotalScoreRise.getValue()) {
            return new BanquetTotalScoreRiseCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TotalUnionBargainTime.getValue()) {
            return new TotalUnionBargainTimeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TotalBuyMonthCardTime.getValue()) {
            return new TotalBuyMonthCardTimeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TotalChildMarriageTime.getValue()) {
            return new TotalChildMarriageTimeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TotalGiveLikeTime.getValue()) {
            return new TotalGiveLikeTimeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TotalReceiveYearCardRewardTime.getValue()){
            return new TotalReceiveYearCardRewardTimeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JoinUnionActivityCondition.getValue()){
            return new JoinUnionActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UserTotalTreadWarkill.getValue()){
            return new UserTotalTreadWarkillCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GoddessMissionRank.getValue()) {
            return new GoddessMissionRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GoddessMissionProgress.getValue()) {
            return new GoddessMissionProgressCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GoddessPeoCombProgress.getValue()) {
            return new GoddessPeoCombProgressCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GoddessPeoUnlock.getValue()) {
            return new GoddessPeoUnlockCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CricketCourtBronzeToken.getValue()) {
            return new CricketCourtBronzeTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CricketCourtSliverToken.getValue()) {
            return new CricketCourtSliverTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CricketCourtGoldToken.getValue()) {
            return new CricketCourtGoldTokenCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.CommonWishPieceUnLock.getValue()) {
            return new CommonWishPieceUnLockCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.CommonWishScoreRank.getValue()) {
            return new CommonWishScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.CommonWishTotalDraw.getValue()) {
            return new CommonWishTotalDrawCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DeepFishingTotalCoinRank.getValue()){
            return new DeepFishingRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DeepFishingTotalCoinProcess.getValue()){
            return new DeepFishingTotalCoinProcessCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DeepFishingUnlockFish.getValue()){
            return new DeepFishingUnlockFishCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DeepFishingUnlockItem.getValue()){
            return new DeepFishingUnlockItemCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.FiveHeroPopularity.getValue()) {
            return new FiveHeroPopularityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FiveHeroUserPopularityRank.getValue()) {
            return new FiveHeroUserPopularityRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FiveHeroCampUnionPopularityRank.getValue()) {
            return new FiveHeroCampUnionPopularityRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FiveHeroCampScoreRank.getValue()) {
            return new FiveHeroCampScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.CouponTrigger.getValue()) {
            return new CouponTriggerActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.EnterNameAreaFightRank.getValue()) {
            return new EnterNameAreaFightRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ChannelPastureMaxScoreRank.getValue()) {
            return new ChannelPastureMaxScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ChannelPastureMaxScoreAchieve.getValue()) {
            return new ChannelPastureMaxScoreAchieveCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.ChannelPastureMaxScoreAchieveForMedal.getValue()) {
            return new ChannelPastureMaxScoreAchieveForMedalCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.RechargeTrigger.getValue()) {
            return new RechargeChargeActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SignInDrawSignInDays.getValue()) {
            return new SignInDrawSignInDaysCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LangYaMemorialCrossRank.getValue()) {
            return new LangYaMemorialCrossRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LangYaMemorialRepairProgress.getValue()) {
            return new LangYaMemorialRepairProgressCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LangYaMemorialBuildAllValue.getValue()) {
            return new LangYaMemorialBuildAllValueCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LangYaMemorialBuildTimes.getValue()) {
            return new LangYaMemorialBuildTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.LangYaUserBuildingCoinRank.getValue()){
            return new LangYaUserScoreRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.LangYaUnionScoreRank.getValue()){
            return new LangYaUnionScoreRankCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.LangYaCaseCondition.getValue()){
            return new LangYaCaseCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.LangYaBuildingLevelCondition.getValue()){
            return new LangYaBuildingLevelCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType()==eGamePlayerEventType.LangYaBangInspirationCondition.getValue()){
            return new LangYaBangInspirationCondition(activityInfo,activityConditionInfo,baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SilkRoadUserScoreRank.getValue()) {
            return new SilkRoadScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SilkRoadReliceAchieve.getValue()) {
            return new SilkRoadRelicAchieveCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GoYouXiQuanActivity.getValue()) {
            return new EnterQuanziActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.TotalWatchAdvertisementTimeCondition.getValue()){
            return new TotalWatchAdvertisementTimeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SpecialCookBoySevenDaySign.getValue()){
            return new SpecialCookBoySevenDaySignCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.FlowerStudyScoreLocalRankCondition.getValue()){
            return new FlowerStudyLocalScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.FlowerStudyQACondition.getValue()){
            return new FlowerStudyQACondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.FlowerStudyScoreProvinceRankCondition.getValue()){
            return new FlowerStudyScoreProvinceRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if(activityConditionInfo.getType() == eGamePlayerEventType.FlowerStudyScorePalaceRankCondition.getValue()){
            return new FlowerStudyScorePalaceRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }else if (activityConditionInfo.getType() == eGamePlayerEventType.AdvertisementDailyResetCondition.getValue()){
            return new DailyRefreshAdvertisementTimeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WanYaoMissionProgress.getValue()){
            return new WanYaoLevelProgressCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WanYaoUserPowerRank.getValue()){
            return new WanYaoMonsterPowerRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WanYaoAddMonsterCondition.getValue()){
            return new WanYaoAddMosterCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.QixiSendFlowerAchieve.getValue()){
            return new QixiActivitySendFlowerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.QixiUserRank.getValue()){
            return new QixiActivityUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GuaGiftsSendNobleGift.getValue()){
            return new GuaGiftsActivitySendNobleGiftCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GuaGiftsNobleRank.getValue()){
            return new GuaGiftsNobleRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if(activityConditionInfo.getType() == eGamePlayerEventType.GuaGiftsGuaRank.getValue()){
            return new GuaGiftsGuaRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeVehicleSoulBlock.getValue()){
            return new RechargeVehicleSoulBlockCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DigGoldScoreRank.getValue()){
            return new DigGoldAntiqueScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DigGoldAntiqueCondition.getValue()){
            return new DigGoldAntiqueCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DigGoldAntiqueScoreCondition.getValue()){
            return new DigGoldAntiqueScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PatronsLevelFund.getValue()) {
            return new PatronLevelFundCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SpecialTombRobSevenDaySign.getValue()){
            return new SpecialTombRobSevenDaySignCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TenDayDiscount.getValue()){
            return new RechargeTenDayDiscountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.EveFeastUserRank.getValue()){
            return new EveFeastRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.EveFeastInvite.getValue()){
            return new EveFeastInviteOneCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.EveFeastInvite2.getValue()){
            return new EveFeastInviteTwoCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.EveFeastInvite3.getValue()){
            return new EveFeastInviteThreeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.EveFeastGameAchieve.getValue()){
            return new EveFeastGameCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.EveFeastGameEndAchieve.getValue()){
            return new EveFeastGameEndCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DaoMuPvePersonRank.getValue()){
            return new DaoMuPvePersonRankCondition(activityInfo, activityConditionInfo, baseActivityData);//盗墓笔记-PVE排行
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DaoMuAchievementCollectionScore.getValue()){
            return new DaoMuAchievementCollectionScoreCondition(activityInfo, activityConditionInfo, baseActivityData);//盗墓笔记-藏品收藏成就
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DaoMuPvpPersonRank.getValue()){
            return new DaoMuPvpPersonRankCondition(activityInfo, activityConditionInfo, baseActivityData);//盗墓笔记-PVP排行
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DaoMuPvpExp.getValue()){
            return new DaoMuPvpExpCondition(activityInfo, activityConditionInfo, baseActivityData);//盗墓笔记-PVP经验
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PatronsFundIntelligence.getValue()){
            return new PatronsFundIntelligenceCondition(activityInfo, activityConditionInfo, baseActivityData);//新门客基金-门客资质
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PatronsFundBeautyGlamour.getValue()){
            return new PatronsFundBeautyGlamourCondition(activityInfo, activityConditionInfo, baseActivityData);//新门客基金-美女才华
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WitchDrawScoreRank.getValue()){
            return new WitchDrawScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WitchDrawScoreCondition.getValue()){
            return new WitchDrawScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WaShePkUserScoreArchive.getValue()){
            return new WaShePkUserScoreArchiveCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WaShePkUserFightRank.getValue()){
            return new WaShePkUserFightRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WaShePkGroupFightRank.getValue()){
            return new WaShePkGroupFightRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SteleSoulCost.getValue()) {
            return new SteleSoulCostCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SteleSoulRoundCount.getValue()) {
            return new SteleSoulRoundCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SteleSoulRoundRank.getValue()) {
            return new SteleSoulRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }  else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeWingRoomChakra.getValue()){
            return new RechargeWingRoomChakraActivityCondition(activityInfo, activityConditionInfo, baseActivityData);//厢房命盘触发礼包
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RechargeMusicRoom.getValue()){
            return new RechargeMusicRoomBeautyUpgradeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.MusicRoomScoreRank.getValue()){
            return new MusicRoomScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ServerMusicRoomScoreRank.getValue()) {
            return new ServerMusicRoomScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BowArtActivityServerScoreRank.getValue()) {
            return new ServerBowArtActivityScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FirstRechargeCash.getValue()){
            return new NewFirstRechargeCashCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FirstRechargeCash2024.getValue()){
            return new NewFirstRechargeCash2024Condition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JiuZhouEliteScoreRoundRank.getValue()){
            return new JiuZhouScoreRoundRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JiuZhouEliteOutRoundRank.getValue()){
            return new JiuZhouOutRoundRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JiuZhouMasterScoreRoundRank.getValue()){
            return new JiuZhouScoreRoundRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JiuZhouMasterOutRoundRank.getValue()){
            return new JiuZhouOutRoundRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JiuZhouKingScoreRoundRank.getValue()){
            return new JiuZhouScoreRoundRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.JiuZhouKingOutRoundRank.getValue()){
            return new JiuZhouOutRoundRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SnowGardenScoreRank.getValue()) {
            return new SnowGardenRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SnowGardenSecondScoreRank.getValue()) {
            return new SnowGardenSecondRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SnowGardenBuildingLevel.getValue()) {
            return new SnowGardenBuildingLevelCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SnowGardenVisitCount.getValue()) {
            return new SnowGardenVisitorCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CommonActivityFundProgress.getValue()) {
            return new CommonActivityFundProgressCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SeasonServerMallBuyTask.getValue()) {
            return new SeasonServerMallBuyTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TombCostStaminaTask.getValue()) {
            return new TombCostStaminaTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TongbinCostStaminaTask.getValue()) {
            return new TongBingCostStaminaTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DunHuangCostStaminaTask.getValue()) {
            return new DunHuangCostStaminaTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HuaShiGangSendPatronTask.getValue()) {
            return new HuaShiGangSendPatronTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SaltCostStaminaTask.getValue()) {
            return new SaltCostStaminaTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FiveHeroCostStaminaTask.getValue()) {
            return new FiveHeroCostStaminaTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GhostCostStaminaTask.getValue()) {
            return new GhostCostStaminaTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GhostDispatchTask.getValue()) {
            return new GhostDispatchTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HangCostStaminaTask.getValue()) {
            return new HangCostStaminaTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XiangMoCostStaminaTask.getValue()) {
            return new XiangMoCostStaminaTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionFightCostStaminaTask.getValue()) {
            return new UnionFightCostStaminaTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.UnionFightSendPatronTask.getValue()) {
            return new UnionFightSendPatronTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CrossUnionFightSendPatronTask.getValue()) {
            return new CrossUnionFightSendPatronTaskCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZfbIndexSetting.getValue()){
            return new ZfbIndexSettingCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZfbFollowUp.getValue()){
            return new ZfbFollowUpCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CurioRechargeTrigger.getValue()){
            return new CurioRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.LuckyShopWatchTimes.getValue()){
            return new LuckyShopWatchTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RuiShouCostNum.getValue()){
            return new RuiShouCostNumCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RuiShouScoreRank.getValue()){
            return new RuiShouScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WingRoomSystemOpenRechargeTrigger.getValue()) {
            return new WingRoomSystemOpenRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ManorFishPondSystemOpenRechargeTrigger.getValue()) {
            return new ManorFishPondSystemOpenRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CricketSystemOpenRechargeTrigger.getValue()) {
            return new CricketSystemOpenRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.VehicleSoulSystemOpenRechargeTrigger.getValue()) {
            return new VehicleSoulSystemOpenRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WinerySystemOpenRechargeTrigger.getValue()) {
            return new WinerySystemOpenRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GrandChildSystemOpenRechargeTrigger.getValue()) {
            return new GrandChildSystemOpenRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.MusicRoomSystemOpenRechargeTrigger.getValue()) {
            return new MusicRoomSystemOpenRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        }  else if (activityConditionInfo.getType() == eGamePlayerEventType.CurioSystemOpenRechargeTrigger.getValue()) {
            return new CurioSystemOpenRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DoubleSpringZl.getValue()){
            return new DoubleSpringZlCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.DoubleSpringScore.getValue()){
            return new DoubleSpringScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.PiXiuHappyValue.getValue()){
            return new PiXiuHappyValueCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WaSheDoneTimes.getValue()){
            return new WaSheDoneTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.NewYearBagShare.getValue()){
            return new NewYearBagShareCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.NewYearBagTalk.getValue()){
            return new NewYearBagTalkCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.WingRoomChakraDraw.getValue()){
            return new WingRoomChakraDrawCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZhenHuanFirstProcessUnlockStoryNum.getValue()){
            return new ZhenHuanFirstProcessStoryCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZhenHuanFirstProcessRank.getValue()){
            return new ZhenHuanFirstProcessRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZhenHuanSecondProcessRank.getValue()){
            return new ZhenHuanSecondProcessRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZhenHuanSecondProcessLoveDegree.getValue()){
            return new ZhenHuanSecondProcessLoveDegreeCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZhenHuanThirdProcessRank.getValue()){
            return new ZhenHuanThirdProcessRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ZhenHuanThirdProcessBanquetTimes.getValue()){
            return new ZhenHuanThirdProcessBanquetTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BiaoJuExp.getValue()){
            return new BiaoJuExpCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BiaoJuUnionExpAdd.getValue()){
            return new BiaoJuUnionExpAddCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BiaoJuExpRank.getValue()){
            return new BiaoJuExpRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BiaoJuUnionExpRank.getValue()){
            return new BiaoJuUnionExpRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SpringDrawScoreRank.getValue()) {
            return new SpringDrawScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BusinessDepartActiveTask.getValue()) {
            return new BusinessDepartActiveCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.BusinessDepartCostScoreTask.getValue()) {
            return new BusinessDepartCostScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FoxCardUnlockCard.getValue()) {
            return new FoxCardUnlockCardCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FoxCardOneCardUnlock.getValue()) {
            return new FoxCardOneCardUnlockCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FoxCardTreeScore.getValue()) {
            return new FoxCardTreeScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FoxCardTreeScoreRank.getValue()) {
            return new FoxCardTreeScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FoxCardMaxOnceDamageRank.getValue()) {
            return new FoxCardMaxOnceDamageRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HongXianUserRank.getValue()) {
            return new HongXianUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SummerGamesEntryScoreRank.getValue()) {
            return new SummerGamesScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SummerGamesEntryScoreArchive.getValue()) {
            return new SummerGamesScoreArchiveCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HongXianGanWuAchieve.getValue()) {
            return new HongXianGanWuAchieveCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HarpsScoreRank.getValue()) {
            return new HarpsScoreRank(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HarpsPlaySum.getValue()) {
            return new HarpsUseSangCanSi(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SonHaiAchievement.getValue()) {
            return new SonHaiAchievementCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SonHaiUserRank.getValue()) {
            return new SonHaiUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.SonHaiTeamRank.getValue()) {
            return new SonHaiTeamRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.VehicleBoneRechargeTrigger.getValue()) {
            return new VehicleBoneRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.VehicleBoneSystemOpenRechargeTrigger.getValue()) {
            return new VehicleBoneSystemOpenRechargeTriggerCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HsIslandUserAchievement.getValue()) {
            return new HsIslandUserAchievementCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HsIslandUnionAchievement.getValue()) {
            return new HsIslandUnionAchievementCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HsIslandUserRank.getValue()) {
            return new HsIslandUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HsIslandUnionRank.getValue()) {
            return new HsIslandUnionRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.CombLeaderSkillLv.getValue()){
            return new PatronsCombLeaderSkillCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.QuestionnaireReward.getValue()){
            return new QuestionnaireRewardCondition(activityInfo ,activityConditionInfo,baseActivityData);
        }  else if (activityConditionInfo.getType() == eGamePlayerEventType.FeastXianLiRank.getValue()) {
            return new FeastXianLiRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FeastState.getValue()) {
            return new FeastActivityStateCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FeastXianLi.getValue()) {
            return new FeastActivityXianLiCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FeastSectUseEnergyCount.getValue()) {
            return new FeastSectUseEnergyCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FeastPersonalScore.getValue()) {
            return new FeastActivityAttackScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.FeastPersonalScoreRank.getValue()) {
            return new FeastPersonalScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TurtleUserAchievement.getValue()) {
            return new TurtleUserAchievementCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.TurtleUserRank.getValue()) {
            return new TurtleUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.AddMeiTuanDesktop.getValue()) {
            return new AddMeiTuanDesktopCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HorseRunUnionRacingScoreRank.getValue()) {
            return new HorseRunUnionScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HorseRunPersonalGradeRank.getValue()) {
            return new HorseRunPersonalGradeRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HorseRunPersonalGradeAchievement.getValue()) {
            return new HorseRunPersonalGradeAchievement(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HorseRunUnionScoreAchievement.getValue()) {
            return new HorseRunUnionScoreAchievement(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GoldIngotFund.getValue()) {
            return new GoldIngotFundCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.HotpotJumpScoreRank.getValue()) {
            return new HotpotJumpScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GashaponUserRank.getValue()) {
            return new GashaponUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.GashaponIngotRebate.getValue()) {
            return new GashaponIngotRebateCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ApprenticeScoreRank.getValue()) {
            return new ApprenticeUserRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ApprenticeScoreAchievement.getValue()) {
            return new ApprenticeUserAchievementCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ApprenticeTalentAmount.getValue()) {
            return new ApprenticeTalentAmountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.RoundVipExp.getValue()) {
            return new RoundVipExpActivityCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XingYouShanShuiUserDiceCount.getValue()) {
            return new XingYouShanShuiUserDiceCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        }  else if (activityConditionInfo.getType() == eGamePlayerEventType.XingYouShanShuiTeamSliverRank.getValue()) {
            return new XingYouShanShuiTeamSliverRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        }  else if (activityConditionInfo.getType() == eGamePlayerEventType.XingYouShanShuiUserSliverRank.getValue()) {
            return new XingYouShanShuiUserSliverRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.XingYouShanShuiUserRoundCount.getValue()) {
            return new XingYouShanShuiUserRoundCountCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChefDuel1StageScoreRank.getValue()){
            return new ChefDuel1StageScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChefDuel1ScoreCondition.getValue()){
            return new ChefDuel1ScoreCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.ChefDuelPhase1UnlimitedRank.getValue()){
            return new ChefDuel1UnlimitedRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.YQHotelPersonalScoreRank.getValue()) {
            return new YQHotelPersonalScoreRankCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.YQHotelBuildingLevelUpTime.getValue()) {
            return new YQHotelBuildingUpTimesCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.NewPatronsFundPatronsQua.getValue()) {
            return new NewPatronsFundPatronsQuaCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.NewPatronsFundBeautyCh.getValue()) {
            return new NewPatronsFundBeautyChCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else if (activityConditionInfo.getType() == eGamePlayerEventType.NewPatronsFundPatronsSkill.getValue()) {
            return new NewPatronsFundPatronsSkillCondition(activityInfo, activityConditionInfo, baseActivityData);
        } else {
            if (activityConditionInfo.getType() >= 87 && activityConditionInfo.getType() <= 90) {

            } else if (activityConditionInfo.getType() >= 1326 && activityConditionInfo.getType() <= 1329) {
                //汴梁达人 不需要本人
            } else if (activityConditionInfo.getType() == 306) {//节日自选礼包

            } else if (activityConditionInfo.getType() == 1384) {//地域牧场点兵图鉴展示配置，不配奖励，给客户端用

            } else if (ActivityCivilConditionTypeEnum.checkConditionType(activityConditionInfo.getType())) {
                //通用全民奖励不需要创建user condition
            } else if (activityConditionInfo.getType() == eGamePlayerEventType.WealthScrollExpProcess.getValue() ||
                    activityConditionInfo.getType() == eGamePlayerEventType.WealthScrollRepeatBuyTime.getValue()){
                //新财神密卷有自己的任务 不初始化
            } else {
                logger.error("Can't find activity baseCondition : {}", activityConditionInfo.getType());
            }
            return null;
        }
    }

    public void changeValue(Object object) {
        // 活动期间改变值
        ActivityInfo curActivity = NormalActivityMgr.getActivityInfo(activityInfo.getActivityId());
        if (canChange(curActivity)) {
            initPreValue();
            // 2024-02-05 系统开放触发礼包不判断isGetReward,可领奖时间通过modifyTime来处理
            if (!isGetReward() || isAlwaysNotice() || activityInfo.getType() == eActivityType.SystemOpenRMBMallActivity.getValue()) {
                player_BoardLevelHandle(object);
                afterChangeValue();
            }
        }
    }

    public void afterChangeValue() {
        checkAutoSendReward();
    }

    public void checkAutoSendReward() {
        if (!needAutoSendReward()) {
            return;
        }
        // 已完成的自动发奖
        if (isCompleted(player) && !isGetReward()) {
            player.getModule(ActivityModule.class).getActivityReward(activityConditionInfo.getActivityId(), getConditionId());
        }
    }

    public boolean needAutoSendReward(){
        if(activityInfo.getType() == eActivityType.NewYearBag.getValue()){
            return true;
        }
        if(getConditionType() == eGamePlayerEventType.CouponTrigger.getValue()){//代金券自动发
            return true;
        }
        if(activityInfo.getType() == eActivityType.ActivityFund.getValue() && getConditionType() != eGamePlayerEventType.CommonActivityFundProgress.getValue()){//冰雪游园基金任务自动发奖(战令奖励任务除外)
            return true;
        }
        if (activityInfo.getType() == eActivityType.WealthScroll.getValue()){
            return true;
        }
        return false;
    }

    //是否可变更
    public boolean canChange(ActivityInfo curActivity){
        if (activityInfo.getType() == eActivityType.WealthScroll.getValue()){
            //新财神密卷不开不给更新值
            if (!wealthScrollCanFinish(activityInfo)){
                return false;
            }
        }
        if (ActivityMgr.activityInTime(curActivity) ) {
            return true;
        }


        if ((activityInfo.getType() == eActivityType.YearMasterActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.YearMasterBossState.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.TangHuluActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.TangHuLuSweetValAchieve.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.ToyHouse.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.ToyHouseCandyCount.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.ShuiHuActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuAllCombTimes.getValue() && ShuiHuMgr.activityInTimeOrRewardTime()) ||
                (activityInfo.getType() == eActivityType.GourdChildActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.GourdChildLotusLv.getValue() && ActivityMgr.activityInShowTime(GourdChildMgr.getActivityInfo())) ||
                (activityInfo.getType() == eActivityType.CelebrationActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.CelebrationActivityFestiveCrossTotalValue.getValue() && ActivityMgr.activityInRewardPeriod(activityInfo)) ||
                (activityInfo.getType() == eActivityType.ShuiHuYeZiCardActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuYeZiCardTotalCardLevel.getValue() && ActivityMgr.activityInRewardPeriod(activityInfo)) ||
                (activityInfo.getType() == eActivityType.ShuiHuYeZiCardActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.ShuiHuYeZiCardNumberOfGoldCards.getValue() && ActivityMgr.activityInRewardPeriod(activityInfo)) ||
                (activityInfo.getType() == eActivityType.TongBingActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.TongBingZhanGong.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.TongBingActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.TongBingCampBoxScore.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.TonBingActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.TonBingZhanGong.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.TonBingActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.TonBingCampBoxScore.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.Tomb.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.TombUnionNianTuNum.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.LangYaBang.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.LangYaCaseCondition.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.FlowerStudy.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.FlowerStudyQACondition.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (activityInfo.getType() == eActivityType.CommonWishDraw.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.CommonWishTotalDraw.getValue() && ActivityMgr.activityInShowTime(activityInfo)) ||
                (
                        //活动改时间condition里面的活动不会变
                        activityInfo.getType() == eActivityType.ChineseChess.getValue() && ActivityMgr.activityInRewardPeriod(activityInfo) &&
                        (activityConditionInfo.getType() == eGamePlayerEventType.ChineseChessSilverToken.getValue() || activityConditionInfo.getType() == eGamePlayerEventType.ChineseChessGoldToken.getValue())
                ) ||
                (activityInfo.getType() == eActivityType.RankUnionWar.getValue() && ActivityMgr.activityInRewardPeriod(activityInfo)) ||
                (
                        //活动改时间condition里面的活动不会变
                        activityInfo.getType() == eActivityType.Pasture.getValue() && ActivityMgr.activityInRewardPeriod(activityInfo) &&
                                (activityConditionInfo.getType() == eGamePlayerEventType.PastureSilverToken.getValue() || activityConditionInfo.getType() == eGamePlayerEventType.PastureGoldToken.getValue())
                ) ||(
                        //活动改时间condition里面的活动不会变
                        activityInfo.getType() == eActivityType.Twins.getValue() && ActivityMgr.activityInRewardPeriod(activityInfo) &&
                                (activityConditionInfo.getType() == eGamePlayerEventType.TwinsKangfuAllLevel.getValue() || activityConditionInfo.getType() == eGamePlayerEventType.TwinsKangfuComb.getValue())
                ) ||
                (activityInfo.getType() == eActivityType.WorldCup.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.WorldCupSkillLevel.getValue() && ActivityMgr.activityInShowTime(activityInfo))
                  ||
                (activityInfo.getType() == eActivityType.PeakStrongHold.getValue() &&
                        (activityConditionInfo.getType() == eGamePlayerEventType.PeakStrongHoldGuessChampion.getValue() || activityConditionInfo.getType() == eGamePlayerEventType.PeakStrongHoldGuessWin.getValue())&& ActivityMgr.activityInShowTime(activityInfo))
                ||
                (activityInfo.getType() == eActivityType.SilkRoad.getValue() &&
                        activityConditionInfo.getType() == eGamePlayerEventType.SilkRoadReliceAchieve.getValue() && ActivityMgr.activityInShowTime(activityInfo))
                ||(activityInfo.getType() == eActivityType.WitchDraw.getValue() &&
                        activityConditionInfo.getType() == eGamePlayerEventType.WitchDrawScoreCondition.getValue() && ActivityMgr.activityInShowTime(activityInfo))
                ||(activityInfo.getType() == eActivityType.SteleSoul.getValue() &&
                        activityConditionInfo.getType() == eGamePlayerEventType.SteleSoulCost.getValue() && ActivityMgr.activityInShowTime(activityInfo))
                ||(activityInfo.getType() == eActivityType.RuiShou.getValue() &&
                        activityConditionInfo.getType() == eGamePlayerEventType.RuiShouCostNum.getValue() && ActivityMgr.activityInShowTime(activityInfo))
        || (activityConditionInfo.getType() == eGamePlayerEventType.CommonActivityFundProgress.getValue() && ActivityMgr.activityInShowTime(activityInfo))
                || (activityInfo.getType() == eActivityType.BiaoJu.getValue() && ActivityMgr.activityInShowTime(activityInfo))
                || (activityInfo.getType() == eActivityType.BusinessDepart.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.BusinessDepartCostScoreTask.getValue() && ActivityMgr.activityInShowTime(activityInfo))
                || (activityInfo.getType() == eActivityType.SuoYaoActivity.getValue() && activityConditionInfo.getType() == eGamePlayerEventType.SuoYaoExploreItemUse.getValue() && ActivityMgr.activityInShowTime(activityInfo))
                ||(activityInfo.getType() == eActivityType.Turtle.getValue() &&
                activityConditionInfo.getType() == eGamePlayerEventType.TurtleUserAchievement.getValue() && ActivityMgr.activityInShowTime(activityInfo))
                ||(activityInfo.getType() == eActivityType.ChuHanZB.getValue() &&
                (activityConditionInfo.getType() == eGamePlayerEventType.ChuHanZhanGong.getValue() || activityConditionInfo.getType() == eGamePlayerEventType.ChuHanUnionZhanGong.getValue() || activityConditionInfo.getType() == eGamePlayerEventType.ChuHanCampBoxScore.getValue()) && ActivityMgr.activityInShowTime(activityInfo))
        ) {
            return true;
        }
        long beginShowTime = activityInfo.getBeginShowTime();
        long endTime = activityInfo.getEndTime();
        long now = System.currentTimeMillis() / 1000;
        if (now >= beginShowTime && now <= endTime) {
            Set<Integer> conditionTypeSet = new HashSet<>();
            conditionTypeSet.add(1);
            conditionTypeSet.add(2);
            conditionTypeSet.add(3);
            conditionTypeSet.add(4);
            conditionTypeSet.add(5);
            conditionTypeSet.add(6);
            conditionTypeSet.add(9);
            conditionTypeSet.add(10);
            conditionTypeSet.add(11);
            conditionTypeSet.add(33);
            conditionTypeSet.add(37);
            conditionTypeSet.add(55);
            conditionTypeSet.add(59);
            conditionTypeSet.add(63);
            conditionTypeSet.add(86);

            conditionTypeSet.add(1051);
            conditionTypeSet.add(1052);
            conditionTypeSet.add(1053);
            conditionTypeSet.add(1054);
            conditionTypeSet.add(1055);
            conditionTypeSet.add(1056);
            conditionTypeSet.add(1057);
            conditionTypeSet.add(1058);
            conditionTypeSet.add(1059);
            conditionTypeSet.add(1060);
            conditionTypeSet.add(1061);
            conditionTypeSet.add(1062);
            conditionTypeSet.add(1063);
            conditionTypeSet.add(1064);
            conditionTypeSet.add(1065);

            conditionTypeSet.add(12);
            conditionTypeSet.add(21);
            conditionTypeSet.add(27);
            conditionTypeSet.add(28);
            conditionTypeSet.add(29);
            conditionTypeSet.add(31);
            conditionTypeSet.add(35);
            conditionTypeSet.add(1066);
            conditionTypeSet.add(1067);
            conditionTypeSet.add(1154);
            conditionTypeSet.add(1155);
            conditionTypeSet.add(1156);
            conditionTypeSet.add(1157);
            conditionTypeSet.add(1158);
            conditionTypeSet.add(1159);
            conditionTypeSet.add((244));
            conditionTypeSet.add((245));
            conditionTypeSet.add((246));
            conditionTypeSet.add((247));
            conditionTypeSet.add((248));
            conditionTypeSet.add((249));
            conditionTypeSet.add((250));
            conditionTypeSet.add((251));
            conditionTypeSet.add((252));
            conditionTypeSet.add((253));
            conditionTypeSet.add(1269);
            if (conditionTypeSet.contains(activityConditionInfo.getType())) {
                return true;
            }
        }

        if (now >= beginShowTime && now <= activityInfo.getEndShowTime()){
            Set<Integer> conditionTypeSet = new HashSet<>();
            conditionTypeSet.add(1269);
            conditionTypeSet.add(1307);
            conditionTypeSet.add(1314);
            conditionTypeSet.add(1315);
            conditionTypeSet.add(1316);
            conditionTypeSet.add(1256);
            conditionTypeSet.add(1257);
            conditionTypeSet.add(1393);
            conditionTypeSet.add(1395);
            conditionTypeSet.add(1394);
            conditionTypeSet.add(1295);
            conditionTypeSet.add(1504);
            if (conditionTypeSet.contains(activityConditionInfo.getType())) {
                return true;
            }
        }
        return false;
    }

    //有一些活动比如商会充值他的充值触发器必须是要一直存在的
    public boolean isAlwaysNotice(){
        if(getConditionType() == eGamePlayerEventType.UnionRechargeUser.getValue()){
            return true;
        }
        // 商会成就、商会七日任务，自己完成了还可以继续帮别人完成
        if (UnionActivityTaskConditionHelper.isUnionActivityConditionType(getConditionType())) {
            return true;
        }
        //烟花祈愿全服喜庆值
        if (getConditionType() == eGamePlayerEventType.FireWorkHappyValue.getValue()) {
            return true;
        }

        if (getConditionType() == eGamePlayerEventType.SeasonServerMallBuyTask.getValue()){
            return true;
        }
        return false;
    }

    public void initPreValue() {
        ActivityInfo curActivity = NormalActivityMgr.getActivityInfo(activityInfo.getActivityId());
        if (ActivityMgr.activityInTime(curActivity)) {
            if (getPreValue().equals(BigInteger.valueOf(-1L))) {
                initSetPreValue();
            }
        }
    }

    public void initValue() {
        ActivityInfo curActivity = NormalActivityMgr.getActivityInfo(activityInfo.getActivityId());
        if (ActivityMgr.activityInTime(curActivity)) {
            if(!isGetReward()) {
                initDefaultValue();
            }
        }
    }

    public void initRechargeConditionData() {

    }

    public class player_BoardLevelHandle implements IEventListener {
        @Override
        public void triggerEvent(EventTriggerArgs eventArgs) {
            changeValue(eventArgs.getArgs());
        }
    }
}
